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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user