remove feeds/index()

This commit is contained in:
Andrew Dolgov 2012-08-13 18:58:21 +04:00
parent 2ecd2df560
commit be514d00c9
1 changed files with 0 additions and 23 deletions

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