]> git.mxchange.org Git - friendica.git/commitdiff
Remove queue from Admin/Summary
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 2 Jun 2019 01:16:18 +0000 (03:16 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Sun, 2 Jun 2019 01:28:22 +0000 (03:28 +0200)
src/Module/Admin/Summary.php

index 6261ac75caf937057c7ffacf8906726e013d4b8e..ca042c6fa7616175b8741a1f6a71c4eff03af898 100644 (file)
@@ -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;