Fixes "Undefined property: Friendica\App::$queue"

This commit is contained in:
Michael 2019-02-23 16:08:02 +00:00
parent 44953f045e
commit 7703875b55
2 changed files with 3 additions and 1 deletions

View file

@ -369,6 +369,8 @@ class Worker
// For this reason the variables have to be initialized.
$a->getProfiler()->reset();
$a->queue = $queue;
$up_duration = microtime(true) - self::$up_start;
// Reset global data to avoid interferences