public static function Botcha::unsetForm in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha.controller.inc \Botcha::unsetForm()
2 calls to Botcha::unsetForm()
- BotchaFormAbstract::delete in controller/
botcha_form.controller.inc - BotchaFormNone::save in controller/
botcha_form.controller.inc
File
- controller/
botcha.controller.inc, line 318 - Contains Botcha class.
Class
- Botcha
- Singleton realization of botcha application.
Code
public static function unsetForm($form) {
unset($_SESSION[self::BOTCHA_SESSION_FORMS][$form->id]);
}