public function deleteAction() { $request = $this->getRequest(); $id = $request->getParam('id'); $id = $this->_helper->IdConvert->hexToStr($id); $logic = new Logic_User(); try { $logic->deleteRole($id); $cache = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('cachemanager')->getCache('rolecache'); $cache->clean(Zend_Cache::CLEANING_MODE_ALL); $this->_helper->messenger("success", 'Role was successfully deleted.'); $this->_helper->redirector('index'); return; } catch (Logic_Uzytkownik_Exception $e) { $this->_helper->error(MSG_ERROR, $e); } }