summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php4
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) {