From 5704deb460f740ed56be5ae4dbddbf5296a9c603 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Feb 2021 16:00:54 +0300 Subject: counters: unify naming --- classes/rpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/rpc.php') 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")); } -- cgit v1.2.3-54-g00ecf