예제 #1
0
파일: feature.php 프로젝트: swk/bluebox
 protected function deleteOnSubmit($base)
 {
     $currentuser = users::getCurrentUser();
     if ($currentuser['user_type'] < $this->feature['ftr_edit_user_type']) {
         message::set('You do not have rights to delete this feature', 'alert');
         url::redirect(Router_Core::$controller);
     }
     parent::deleteOnSubmit($base);
 }