Remove unused variable in Core\Worker::defer
This commit is contained in:
parent
52f5d924b7
commit
48e2963ac7
|
@ -1378,8 +1378,9 @@ class Worker
|
||||||
* Defers the current worker entry
|
* Defers the current worker entry
|
||||||
*
|
*
|
||||||
* @return boolean had the entry been deferred?
|
* @return boolean had the entry been deferred?
|
||||||
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
public static function defer()
|
public static function defer(): bool
|
||||||
{
|
{
|
||||||
$queue = DI::app()->getQueue();
|
$queue = DI::app()->getQueue();
|
||||||
|
|
||||||
|
@ -1387,7 +1388,6 @@ class Worker
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$retrial = $queue['retrial'];
|
|
||||||
$id = $queue['id'];
|
$id = $queue['id'];
|
||||||
$priority = $queue['priority'];
|
$priority = $queue['priority'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user