summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-04 14:50:56 +0300
committerAndrew Dolgov <[email protected]>2017-05-04 14:50:56 +0300
commit86a8351ca2abbacda557819cefb66379a450103c (patch)
treee50d01443417ee8fee24440b466fe87e8e049a95 /classes/handler
parent7e5f8d9fb323dc5e47f545984c6f9b3d320a2912 (diff)
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) {
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 183a7d3ba..89d481ec5 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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: