From: Hypolite Petovan Date: Sun, 17 Oct 2021 01:07:31 +0000 (-0400) Subject: Remove unused variable in Core\Worker::defer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48e2963ac7dd74ee85e05c7176c660500da19509;p=friendica.git Remove unused variable in Core\Worker::defer --- diff --git a/src/Core/Worker.php b/src/Core/Worker.php index d43d8c7281..5c23d64456 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -1378,8 +1378,9 @@ class Worker * Defers the current worker entry * * @return boolean had the entry been deferred? + * @throws \Exception */ - public static function defer() + public static function defer(): bool { $queue = DI::app()->getQueue(); @@ -1387,7 +1388,6 @@ class Worker return false; } - $retrial = $queue['retrial']; $id = $queue['id']; $priority = $queue['priority'];