From e5f72d366e7fbb2271dca9de636654007004e039 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 22 Mar 2006 08:52:13 +0000 Subject: [PATCH] Added ability to select different releases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2888 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/applications/class_applicationManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index b2981fa91..cb9e7b70c 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -70,7 +70,7 @@ class applicationManagement extends plugin function getReleases($base) { - $dn = "ou=fai,ou=configs,ou=systems,".$base; + $dn = "ou=apps,".$base; $ret = array(); @@ -79,7 +79,7 @@ class applicationManagement extends plugin $ldap = $this->config->get_ldap_link(); $ldap->cd($dn); - $ldap->search("ou=apps",array("ou")); + $ldap->search("objectClass=organizationalUnit",array("ou")); while($attrs = $ldap->fetch()){ $str = str_replace($dn,"",$attrs['dn']); -- 2.30.2