public function flushfeeds() { global $init; require_once PATH_CORE . '/classes/newswire.class.php'; $nwObj = new newswire(); $nwObj->cleanup(0); set_flash(array('notice' => "Finished flushing feeds.")); redirect(url_for($this->name, 'index')); }