forked from extern/egroupware
fix the "to many categories" problem with ldap backend
This commit is contained in:
parent
5fc31705b2
commit
86f6654c8c
@ -63,8 +63,10 @@
|
|||||||
# resolving the group members/grants is very slow with ldap accounts backend
|
# resolving the group members/grants is very slow with ldap accounts backend
|
||||||
# let's skip it for the addressbook, if we are using the ldap accounts backend
|
# let's skip it for the addressbook, if we are using the ldap accounts backend
|
||||||
####################################################
|
####################################################
|
||||||
if($app_name != 'addressbook' && $GLOBALS['egw_info']['server']['account_repository'] != 'ldap') {
|
if($app_name == 'addressbook' && $GLOBALS['egw_info']['server']['account_repository'] == 'ldap') {
|
||||||
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name);
|
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name, false);
|
||||||
|
} else {
|
||||||
|
$this->grants = $GLOBALS['egw']->acl->get_grants($app_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user