summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-13 18:58:21 +0400
committerAndrew Dolgov <[email protected]>2012-08-13 18:58:21 +0400
commitbe514d00c9df66392e85529d2df78d4de1601a98 (patch)
treee216e767c2aedd85ec4a2b704f3b2cb3f1c15cdd
parent2ecd2df560b60868f10830ce623f32257c2ddfbf (diff)
remove feeds/index()
-rw-r--r--classes/feeds.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index d1ef16738..4f0ac4f3f 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();