mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:55: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user