diff options
Diffstat (limited to 'application/modules/user/forms/Config.php')
-rw-r--r-- | application/modules/user/forms/Config.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/application/modules/user/forms/Config.php b/application/modules/user/forms/Config.php index bf25fe2..e9bbffb 100644 --- a/application/modules/user/forms/Config.php +++ b/application/modules/user/forms/Config.php @@ -4,12 +4,8 @@ class user_Form_Config extends Zend_Form { private $action; - private $rights; private $page; - public function setRights($rights){ - $this->rights = $rights; - } public function setAction($action){ $this->action = $action; } @@ -22,7 +18,7 @@ class user_Form_Config extends Zend_Form $this->setName($this->action); $this->setMethod('post'); - if ($this->rights == 'meta') + if (Pbs_Acl::checkRight('cem')) $meta = true; else $meta = null; |