diff options
Diffstat (limited to 'classes/api.php')
-rw-r--r-- | classes/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/api.php b/classes/api.php index ad3ccea09..2dee790b3 100644 --- a/classes/api.php +++ b/classes/api.php @@ -101,7 +101,7 @@ class API extends Handler { if ($feed_id) { $this->wrap(self::STATUS_OK, array("unread" => getFeedUnread($feed_id, $is_cat))); } else { - $this->wrap(self::STATUS_OK, array("unread" => getGlobalUnread())); + $this->wrap(self::STATUS_OK, array("unread" => Feeds::getGlobalUnread())); } } @@ -170,7 +170,7 @@ class API extends Handler { if ($unread || !$unread_only) { array_push($cats, array("id" => $cat_id, - "title" => getCategoryTitle($cat_id), + "title" => Feeds::getCategoryTitle($cat_id), "unread" => $unread)); } } |