summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/api.php b/classes/api.php
index bffa2bf07..1fc84884e 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -107,7 +107,7 @@ class API extends Handler {
/* Method added for ttrss-reader for Android */
function getCounters() {
- $this->wrap(self::STATUS_OK, getAllCounters());
+ $this->wrap(self::STATUS_OK, Counters::getAllCounters());
}
function getFeeds() {
@@ -537,7 +537,7 @@ class API extends Handler {
/* Labels */
if ($cat_id == -4 || $cat_id == -2) {
- $counters = getLabelCounters(true);
+ $counters = Counters::getLabelCounters(true);
foreach (array_values($counters) as $cv) {