From be514d00c9df66392e85529d2df78d4de1601a98 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Aug 2012 18:58:21 +0400 Subject: [PATCH] remove feeds/index() --- classes/feeds.php | 23 ----------------------- 1 file changed, 23 deletions(-) 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(); -- 2.39.5