/** * Cancel a task by redirecting to main page * * @return void */ public function cancelTask() { // Checkin the category $row = new Category($this->database); $row->bind($_POST); $row->checkin(); App::redirect(Route::url('index.php?option=' . $this->_option . '&controller=' . $this->_controller, false)); }