예제 #1
0
 function deletefuture()
 {
     $is_event_editor = JEVHelper::isEventDeletor();
     if (!$is_event_editor) {
         JError::raiseError(403, JText::_('ALERTNOTAUTH'));
     }
     parent::deletefuture();
 }
예제 #2
0
 function deletefuture()
 {
     $is_event_editor = JEVHelper::isEventDeletor();
     if (!$is_event_editor) {
         throw new Exception(JText::_('ALERTNOTAUTH'), 403);
         return false;
     }
     parent::deletefuture();
 }