mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Acl::get_grants does not use Acl::read_repository and Acl::get_rights calls it automatic
This commit is contained in:
parent
6c97df764c
commit
b80ff955eb
@ -973,7 +973,7 @@ class infolog_bo
|
||||
{
|
||||
$values['info_from'] = $to_write['info_from'] = $this->link_id2from($values);
|
||||
}
|
||||
|
||||
|
||||
// create (and remove) links in custom fields
|
||||
if(!is_array($old))
|
||||
{
|
||||
@ -1677,7 +1677,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user