You are here

public function BotchaRecipeController::delete in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeController::delete()

Overrides IBotchaRecipeController::delete

File

controller/recipe/botcha.recipe.controller.inc, line 50
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipeController

Code

public function delete($recipe) {

  // Save recipe to DB.
  $this
    ->getModel()
    ->delete($recipe);
}