aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-26 20:07:08 -0800
committerfriendica <info@friendica.com>2015-02-26 20:07:08 -0800
commit05dff886c8e1d9da1f34f57c82d073714188f9d6 (patch)
tree37361543a1bf4e8b4bc1bf4ad93201d3322a2b80
parenta00c072f02efb741629b4b3e5b0eac1b3d6a95d4 (diff)
downloadvolse-hubzilla-05dff886c8e1d9da1f34f57c82d073714188f9d6.tar.gz
volse-hubzilla-05dff886c8e1d9da1f34f57c82d073714188f9d6.tar.bz2
volse-hubzilla-05dff886c8e1d9da1f34f57c82d073714188f9d6.zip
don't report already delivered queue items in admin queue summary
-rw-r--r--mod/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index a54a4b0b8..98b2f4266 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -202,7 +202,7 @@ function admin_page_summary(&$a) {
$r = q("SELECT COUNT(id) as `count` FROM `register`");
$pending = $r[0]['count'];
- $r = q("select count(*) as total from outq");
+ $r = q("select count(*) as total from outq where outq_delivered = 0");
$queue = (($r) ? $r[0]['total'] : 0);
// We can do better, but this is a quick queue status