From 77a3e1233fff8061de3a5c307531d9a4bc7d6dad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Feb 2013 16:51:06 +0400 Subject: [PATCH] rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged --- classes/rpc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/rpc.php b/classes/rpc.php index 46c8b0d8..18df21b1 100644 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -247,6 +247,8 @@ class RPC extends Handler_Protected { if ($last_article_id != getLastArticleId($this->link)) { $reply['counters'] = getAllCounters($this->link); + } else { + $reply['counters'] = getVirtCounters($this->link); } $reply['runtime-info'] = make_runtime_info($this->link); -- 2.39.5