public static function Botcha::unsetRecipebook in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha.controller.inc \Botcha::unsetRecipebook()
2 calls to Botcha::unsetRecipebook()
- BotchaRecipebookAbstract::delete in controller/
botcha_recipebook.controller.inc - BotchaRecipebookNone::save in controller/
botcha_recipebook.controller.inc
File
- controller/
botcha.controller.inc, line 386 - Contains Botcha class.
Class
- Botcha
- Singleton realization of botcha application.
Code
public static function unsetRecipebook($recipebook) {
unset($_SESSION[self::BOTCHA_SESSION_RECIPEBOOKS][$recipebook->id]);
}