/** * Delete a set * * @return void */ public function deletesetAction() { $request = $this->getRequest(); $id = $this->_helper->IdConvert->hexToStr($request->getParam('id')); if (empty($id)) { $this->_helper->messenger->error('Nie podano parametru ID'); return $this->_helper->redirector('index'); } try { $this->_model->deleteSet($id); $this->_helper->messenger->success(); $this->_helper->redirector('index'); return; } catch (Logic_Ws_Exception $e) { $this->_helper->error(MSG_ERROR, $e); } }