function BotchaRecipebookAbstract::unsetRecipe in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::unsetRecipe()
File
- controller/
botcha_recipebook.controller.inc, line 155 - Controller layer of the BotchaRecipebook objects.
Class
- BotchaRecipebookAbstract
- @file Controller layer of the BotchaRecipebook objects.
Code
function unsetRecipe($recipe_id) {
unset($this->recipes[$recipe_id]);
// Save changed state.
Botcha::setRecipebook($this);
return $this;
}