/** * Delete categories */ function handleDelete($id) { $category = new Model\Category($this->database); $this->database->table("categories")->where("id", $category->getSubIds($id))->delete(); $this->redirect(":Admin:Categories:default"); }
/** * Delete categories */ function handleDelete($id) { $category = new Model\Category($this->database); $this->database->table("categories")->where("id", $category->getSubIds($id))->delete(); $this->redirect(":Admin:Categories:default"); }