You are here

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

Same name and namespace in other branches
  1. 6.2 controller/botcha.controller.inc \Botcha::clean()
15 calls to Botcha::clean()
BotchaAdminTestCase::testAdminGeneral in ./botcha.test
Testing general BOTCHA admin functionality.
BotchaAdminTestCase::testBotchaAdminLinks in ./botcha.test
Testing of the BOTCHA administration links.
BotchaAdminTestCase::testFormUI in ./botcha.test
Tests for creating, modifying and deleting botcha forms.
BotchaAdminTestCase::testRecipebookUI in ./botcha.test
Tests for creating, modifying and deleting recipe books.
BotchaBaseWebTestCase::setUp in ./botcha.test
Sets up a Drupal site for running functional and integration tests.

... See full list

File

controller/botcha.controller.inc, line 450
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]);
}