mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Replace App with AppHelper in Worker classes
This commit is contained in:
parent
1d5fc6a4bf
commit
60a9833130
6 changed files with 23 additions and 23 deletions
|
@ -192,7 +192,7 @@ class Queue
|
|||
}
|
||||
|
||||
if (!empty($entry['wid'])) {
|
||||
$worker = DI::app()->getQueue();
|
||||
$worker = DI::apphelper()->getQueue();
|
||||
$wid = $worker['id'] ?? 0;
|
||||
if ($entry['wid'] != $wid) {
|
||||
$workerqueue = DBA::selectFirst('workerqueue', ['pid'], ['id' => $entry['wid'], 'done' => false]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue