Exemplo n.º 1
0
 public function deleteAction($rowset = null)
 {
     if ($this->_getParam('id', 0) === Centurion_Auth::getInstance()->getIdentity()->id) {
         Zend_Controller_Action_HelperBroker::getStaticHelper('redirector')->gotoSimple('unauthorized', 'error', 'admin');
     } else {
         parent::deleteAction($rowset);
     }
 }