/** * Remove a technique. * * @param \Model\Technique $technique * * @return void */ public function removeTechnique($technique) { $technique->remove(); $this->doRender = false; $this->echoAjaxResponse(array('ok' => true)); }