mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Removed unnecessary permissions check from the InfoCenter controller
This commit is contained in:
@@ -109,10 +109,6 @@ class InfoCenter extends Auth_Controller
|
|||||||
|
|
||||||
$this->_setAuthUID(); // sets property uid
|
$this->_setAuthUID(); // sets property uid
|
||||||
|
|
||||||
$this->load->library('PermissionLib');
|
|
||||||
if(!$this->permissionlib->isBerechtigt('basis/person'))
|
|
||||||
show_error('You have no Permission! You need Infocenter Role');
|
|
||||||
|
|
||||||
$this->setControllerId(); // sets the controller id
|
$this->setControllerId(); // sets the controller id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user