1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:25:59 +00:00

move counter stuff to a separate class

This commit is contained in:
Andrew Dolgov
2017-05-05 11:54:31 +03:00
parent 46b433933e
commit 65af3b2cbb
4 changed files with 206 additions and 201 deletions

View File

@@ -298,7 +298,7 @@ class RPC extends Handler_Protected {
if (!empty($_REQUEST['seq'])) $reply['seq'] = (int) $_REQUEST['seq'];
if ($last_article_id != Article::getLastArticleId()) {
$reply['counters'] = getAllCounters();
$reply['counters'] = Counters::getAllCounters();
}
$reply['runtime-info'] = make_runtime_info();