/** * deleteAction * Delete a record previously selected by the reviews * @return unknown_type */ public function deleteAction() { $id = $this->getRequest()->getParam('id'); if (is_numeric($id)) { AdminRoles::deleteItem($id); $this->_helper->redirector('list', 'roles', 'admin', array('mex' => $this->translator->translate("The task requested has been executed successfully."), 'status' => 'success')); } return $this->_helper->redirector('index', 'roles'); }