don't report already delivered queue items in admin queue summary

This commit is contained in:
friendica 2015-02-26 20:07:08 -08:00
parent a00c072f02
commit 05dff886c8

View File

@ -202,7 +202,7 @@ function admin_page_summary(&$a) {
$r = q("SELECT COUNT(id) as `count` FROM `register`"); $r = q("SELECT COUNT(id) as `count` FROM `register`");
$pending = $r[0]['count']; $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); $queue = (($r) ? $r[0]['total'] : 0);
// We can do better, but this is a quick queue status // We can do better, but this is a quick queue status