forked from extern/egroupware
resolve the group grants only, when the we are not using the ldap accounts backend, because resolving the memberships using ldap is very slow currently
This commit is contained in:
parent
48a17e28c1
commit
d31d731513
@ -59,8 +59,10 @@
|
||||
$this->app_name = $app_name;
|
||||
$this->db = clone($GLOBALS['egw']->db);
|
||||
$this->db->set_app('phpgwapi');
|
||||
if($app_name != 'addressbook' && $GLOBALS['egw_info']['server']['account_repository'] != 'ldap') {
|
||||
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* return sql for predifined filters
|
||||
|
Loading…
Reference in New Issue
Block a user