summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f42224)
raw | patch | inline | side by side (parent: 0f42224)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Apr 2008 11:10:43 +0000 (11:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Apr 2008 11:10:43 +0000 (11:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10615 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_divListGroup.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc
index 119d6be696384b1901af8a3c571b914832fd5936..631ddaf4b1bf86fcd19f99bc7106ef8bb540c826 100644 (file)
/* Fetch all application menu entries
*/
$base = get_groups_ou().$this->selectedBase;
- $res = get_list("(objectClass=gotoMenuEntry)","application",$base,array("dn"));
+ $ldap = $this->config->get_ldap_link();
+ $ldap->cd ($base);
+ $ldap->search("(objectClass=gotoMenuEntry)",array("dn"));
$configured_apps = array();
- foreach($res as $entry){
+ while($entry = $ldap->fetch()){
$dn = preg_replace("/^.*(cn=[^,]+,".normalizePreg(get_groups_ou()).")/","\\1",$entry['dn']);
$configured_apps[$dn] = $dn;
}