From: Andrew Dolgov Date: Mon, 13 Aug 2012 14:58:21 +0000 (+0400) Subject: remove feeds/index() X-Git-Tag: 1.6.0~170^2~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=be514d00c9df66392e85529d2df78d4de1601a98;p=tt-rss.git remove feeds/index() --- diff --git a/classes/feeds.php b/classes/feeds.php index d1ef1673..4f0ac4f3 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -745,29 +745,6 @@ class Feeds extends Protected_Handler { toggle_collapse_cat($this->link, $cat_id, $mode); } - function index() { - $root = (bool)$_REQUEST["root"]; - - if (!$root) { - print json_encode($this->outputFeedList($this->link)); - } else { - - $feeds = $this->outputFeedList($this->link, false); - - $root = array(); - $root['id'] = 'root'; - $root['name'] = __('Feeds'); - $root['items'] = $feeds['items']; - - $fl = array(); - $fl['identifier'] = 'id'; - $fl['label'] = 'name'; - $fl['items'] = array($root); - - print json_encode($fl); - } - } - function view() { $timing_info = getmicrotime();