X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FExpire.php;h=875e60e25d5425ce1b36fb11ecc50386dbc88fb0;hb=036b565a7846916f763ce1dcbcaade0844ff1589;hp=1fb162db970269960cad65fbfa7ac12891ed2d94;hpb=501e0b398f1004196836730c9e09179a42a23b95;p=friendica.git diff --git a/src/Worker/Expire.php b/src/Worker/Expire.php index 1fb162db97..875e60e25d 100644 --- a/src/Worker/Expire.php +++ b/src/Worker/Expire.php @@ -1,6 +1,6 @@ $row['uid'], 'username' => $row['username']]); - Worker::add(['priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true], + Worker::add(['priority' => $a->getQueueValue('priority'), 'created' => $a->getQueueValue('created'), 'dont_fork' => true], 'Expire', (int)$row['uid']); } DBA::close($r); @@ -70,7 +70,7 @@ class Expire Logger::notice('calling hooks'); foreach (Hook::getByName('expire') as $hook) { Logger::info('Calling expire', ['hook' => $hook[1]]); - Worker::add(['priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true], + Worker::add(['priority' => $a->getQueueValue('priority'), 'created' => $a->getQueueValue('created'), 'dont_fork' => true], 'Expire', 'hook', $hook[1]); }