rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged
This commit is contained in:
parent
5129d29d65
commit
77a3e1233f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue