You are here

function BotchaRecipebookAbstract::unsetForm in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::unsetForm()

File

controller/botcha_recipebook.controller.inc, line 190
Controller layer of the BotchaRecipebook objects.

Class

BotchaRecipebookAbstract
@file Controller layer of the BotchaRecipebook objects.

Code

function unsetForm($form_id) {
  unset($this->forms[$form_id]);

  // Save changed state.
  Botcha::setRecipebook($this);
  return $this;
}