From: Philipp Holzer Date: Sun, 2 Jun 2019 01:16:18 +0000 (+0200) Subject: Remove queue from Admin/Summary X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aba7c9f08c6dc42944bbdb8af9a64c624d159066;p=friendica.git Remove queue from Admin/Summary --- diff --git a/src/Module/Admin/Summary.php b/src/Module/Admin/Summary.php index 6261ac75ca..ca042c6fa7 100644 --- a/src/Module/Admin/Summary.php +++ b/src/Module/Admin/Summary.php @@ -146,8 +146,6 @@ class Summary extends BaseAdminModule $pending = Register::getPendingCount(); - $queue = DBA::count('queue', []); - $deferred = DBA::count('workerqueue', ['`executed` <= ? AND NOT `done` AND `next_try` > ?', DBA::NULL_DATETIME, DateTimeFormat::utcNow()]); @@ -155,7 +153,7 @@ class Summary extends BaseAdminModule DBA::NULL_DATETIME, DateTimeFormat::utcNow()]); // We can do better, but this is a quick queue status - $queues = ['label' => L10n::t('Message queues'), 'queue' => $queue, 'deferred' => $deferred, 'workerq' => $workerqueue]; + $queues = ['label' => L10n::t('Message queues'), 'deferred' => $deferred, 'workerq' => $workerqueue]; $variables = DBA::toArray(DBA::p('SHOW variables LIKE "max_allowed_packet"')); $max_allowed_packet = $variables ? $variables[0]['Value'] : 0;