1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 00:01:33 +00:00

remove feeds/index()

This commit is contained in:
Andrew Dolgov
2012-08-13 18:58:21 +04:00
parent 2ecd2df560
commit be514d00c9

View File

@@ -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();