From 079ee7bfbddc81ccee99d6cd3ee6e4f6b879df5f Mon Sep 17 00:00:00 2001 From: Paolo Date: Fri, 15 Jun 2018 11:50:06 +0200 Subject: [PATCH] Removed unnecessary permissions check from the InfoCenter controller --- application/controllers/system/infocenter/InfoCenter.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/application/controllers/system/infocenter/InfoCenter.php b/application/controllers/system/infocenter/InfoCenter.php index 4c4aa32e6..e2bed9ea3 100644 --- a/application/controllers/system/infocenter/InfoCenter.php +++ b/application/controllers/system/infocenter/InfoCenter.php @@ -109,10 +109,6 @@ class InfoCenter extends Auth_Controller $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 }