1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

move the following to Feeds:

+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {
This commit is contained in:
Andrew Dolgov
2017-05-04 14:50:56 +03:00
parent 7e5f8d9fb3
commit 86a8351ca2
12 changed files with 497 additions and 498 deletions

View File

@@ -291,7 +291,7 @@ class Handler_Public extends Handler {
if ($fresh) {
print ";";
print getFeedArticles(-3, false, true, $uid);
print Feeds::getFeedArticles(-3, false, true, $uid);
}
} else {
@@ -671,7 +671,7 @@ class Handler_Public extends Handler {
alt=\"Tiny Tiny RSS\"/>
<h1>".__("Subscribe to feed...")."</h1><div class='content'>";
$rc = subscribe_to_feed($feed_url);
$rc = Feeds::subscribe_to_feed($feed_url);
switch ($rc['code']) {
case 0: