summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 7edc59921..b91684bcd 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -141,7 +141,7 @@ class RPC extends Handler_Protected {
@$seq = (int) $_REQUEST['seq'];
$reply = [
- 'counters' => Counters::getAllCounters(),
+ 'counters' => Counters::get_all(),
'seq' => $seq
];
@@ -222,7 +222,7 @@ class RPC extends Handler_Protected {
Feeds::_catchup($feed_id, $is_cat, false, $mode, [$search_query, $search_lang]);
// return counters here synchronously so that frontend can figure out next unread feed properly
- print json_encode(['counters' => Counters::getAllCounters()]);
+ print json_encode(['counters' => Counters::get_all()]);
//print json_encode(array("message" => "UPDATE_COUNTERS"));
}