1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:45:55 +00:00

move api_get_* functions to classes/api

This commit is contained in:
Andrew Dolgov
2013-01-22 22:15:56 +04:00
parent 6eb77a3140
commit 04f60eb729
3 changed files with 211 additions and 210 deletions

View File

@@ -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();