You are here

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

Same name and namespace in other branches
  1. 7.2 controller/botcha.controller.inc \Botcha::clean()
12 calls to Botcha::clean()
BotchaBaseWebTestCase::setUp in ./botcha.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
BotchaFormAbstract::delete in controller/botcha_form.controller.inc
BotchaFormAbstract::save in controller/botcha_form.controller.inc
BotchaFormNone::save in controller/botcha_form.controller.inc
BotchaRecipe::save in controller/botcha_recipe.controller.inc

... See full list

File

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

Class

Botcha
Singleton realization of botcha application.

Code

public static function clean() {
  unset($_SESSION[self::BOTCHA_SESSION_FORMS]);
  unset($_SESSION[self::BOTCHA_SESSION_RECIPEBOOKS]);
  unset($_SESSION[self::BOTCHA_SESSION_RECIPES]);
}