Acl::get_grants does not use Acl::read_repository and Acl::get_rights calls it automatic

This commit is contained in:
Ralf Becker 2017-04-06 09:48:44 +02:00
parent 627d968286
commit 32eba47ea3

View File

@ -1655,7 +1655,6 @@ class infolog_bo
$GLOBALS['egw']->preferences->__construct($user);
$GLOBALS['egw_info']['user']['preferences'] = $GLOBALS['egw']->preferences->read_repository();
$GLOBALS['egw']->acl->__construct($user);
$GLOBALS['egw']->acl->read_repository();
$this->grants = $GLOBALS['egw']->acl->get_grants('infolog',$this->group_owners ? $this->group_owners : true);
$this->so = new infolog_so($this->grants); // so caches it's filters