diff options
author | Andrew Dolgov <[email protected]> | 2013-02-27 16:51:06 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-27 16:51:06 +0400 |
commit | 77a3e1233fff8061de3a5c307531d9a4bc7d6dad (patch) | |
tree | 2ae1a92c671eab9482abd377e751f4b75153056c /classes | |
parent | 5129d29d65f13323652c236c5990f3983a8ec555 (diff) |
rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged
Diffstat (limited to 'classes')
-rw-r--r-- | classes/rpc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 46c8b0d85..18df21b16 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); |