diff options
author | Andrew Dolgov <[email protected]> | 2021-02-15 16:00:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-15 16:00:54 +0300 |
commit | 5704deb460f740ed56be5ae4dbddbf5296a9c603 (patch) | |
tree | c181264ef1a939ea5e06f8d4f2356671400ed19b /classes/api.php | |
parent | 257efb43c6e32226280d8198acc946a2fc4c454f (diff) |
counters: unify naming
Diffstat (limited to 'classes/api.php')
-rwxr-xr-x | classes/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/api.php b/classes/api.php index 4d1c15598..62ce1764c 100755 --- a/classes/api.php +++ b/classes/api.php @@ -102,7 +102,7 @@ class API extends Handler { /* Method added for ttrss-reader for Android */ function getCounters() { - $this->wrap(self::STATUS_OK, Counters::getAllCounters()); + $this->wrap(self::STATUS_OK, Counters::get_all()); } function getFeeds() { @@ -510,7 +510,7 @@ class API extends Handler { /* API only: -4 All feeds, including virtual feeds */ if ($cat_id == -4 || $cat_id == -2) { - $counters = Counters::getLabelCounters(true); + $counters = Counters::get_labels(true); foreach (array_values($counters) as $cv) { |