diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index 15bba26460..8cd0a44456 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -147,10 +147,7 @@ class categories // load the grants if ($this->account_id != -1 && is_null($this->grants)) { - // 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 - $this->grants = $GLOBALS['egw']->acl->get_grants($app_name, - $app_name != 'addressbook' || $GLOBALS['egw_info']['server']['account_repository'] != 'ldap'); + $this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name); } $cats = array(); foreach(self::$cache as $cat_id => $cat)