rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged
This commit is contained in:
parent
5129d29d65
commit
77a3e1233f
|
@ -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 New Issue