From: Andrew Dolgov Date: Wed, 27 Feb 2013 12:51:06 +0000 (+0400) Subject: rpc/getAllCounters: include virtual counters when last_article_id is supplied and... X-Git-Tag: 1.7.1~22^2~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=77a3e1233fff8061de3a5c307531d9a4bc7d6dad;p=tt-rss.git rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged --- 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);