You are here

public function BotchaRecipebookNone::save in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 7.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookNone::save()

Overrides BotchaRecipebookAbstract::save

File

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

Class

BotchaRecipebookNone
Dummy class, created for data consistency and for interface unifying. When there is no recipe book binded to form, this class is used as a handler. It has no logic at all - by design.

Code

public function save() {

  // @todo ?Refactor this with delete() : unify it.
  Botcha::unsetRecipebook($this);
  parent::save();
}