From 04f60eb729e1444bb3363677584c8179050403c4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 22 Jan 2013 22:15:56 +0400 Subject: move api_get_* functions to classes/api --- plugins/digest/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/digest/init.php') diff --git a/plugins/digest/init.php b/plugins/digest/init.php index 05d2f37f0..2feabe3b4 100644 --- a/plugins/digest/init.php +++ b/plugins/digest/init.php @@ -78,7 +78,7 @@ class Digest extends Plugin implements IHandler { $reply['seq'] = $seq; - $headlines = api_get_headlines($this->link, $feed_id, 30, $offset, + $headlines = API::api_get_headlines($this->link, $feed_id, 30, $offset, '', ($feed_id == -4), true, false, "unread", "updated DESC", 0, 0); $reply['headlines'] = array(); @@ -89,7 +89,7 @@ class Digest extends Plugin implements IHandler { } function digestinit() { - $tmp_feeds = api_get_feeds($this->link, -4, true, false, 0); + $tmp_feeds = API::api_get_feeds($this->link, -4, true, false, 0); $params = array(); $feeds = array(); -- cgit v1.2.3