예제 #1
0
 /**
  * @return void
  */
 public function deleteAction()
 {
     $request = $this->getRequest();
     $id = $this->_helper->IdConvert->hexToStr($request->getParam('id'));
     try {
         $this->_model->removeClient($id);
         $this->_helper->messenger->success();
         $this->_helper->redirector('index');
         return;
     } catch (Zend_Db_Exception $e) {
         $this->_helper->error(MSG_ERROR, $e);
     }
 }