public static function Botcha::unsetRecipe in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha.controller.inc \Botcha::unsetRecipe()
File
- controller/
botcha.controller.inc, line 446 - Contains Botcha class.
Class
- Botcha
- Singleton realization of botcha application.
Code
public static function unsetRecipe($recipe) {
unset($_SESSION[self::BOTCHA_SESSION_RECIPES][$recipe->id]);
}