public function BotchaRecipebookAbstract::delete in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 7.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::delete()
File
- controller/
botcha_recipebook.controller.inc, line 119 - Controller layer of the BotchaRecipebook objects.
Class
- BotchaRecipebookAbstract
- @file Controller layer of the BotchaRecipebook objects.
Code
public function delete() {
Botcha::unsetRecipebook($this);
// Delete recipe book from DB.
BotchaRecipebookModel::delete($this);
// Clean session to fetch new values.
Botcha::clean();
}