public function process() { if (isset($this->request->post['delete_feed'])) { list($success, $form) = $this->process_form(array('feed_id')); if ($success) { $res = Hm_Feed_List::del($form['feed_id']); if ($res) { $this->out('deleted_server_id', $form['feed_id']); $this->out('reload_folders', true); Hm_Msgs::add('Feed deleted'); $this->session->record_unsaved('Feed deleted'); } } else { $this->out('old_form', $form); } } }