Code

Added ability to select different releases
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Mar 2006 08:52:13 +0000 (08:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Mar 2006 08:52:13 +0000 (08:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2888 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc

index b2981fa917904d73ab694c9c60bd8df6515afb0e..cb9e7b70c1364539659365c7310a48ac4bc1fdaf 100644 (file)
@@ -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']);