You are here

public static function Botcha::unsetRecipe in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 7.2 controller/botcha.controller.inc \Botcha::unsetRecipe()

File

controller/botcha.controller.inc, line 454
Contains Botcha class.

Class

Botcha
Singleton realization of botcha application.

Code

public static function unsetRecipe($recipe) {
  unset($_SESSION[self::BOTCHA_SESSION_RECIPES][$recipe->id]);
}