Code

Updated applications
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 13:09:08 +0000 (13:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 13:09:08 +0000 (13:09 +0000)
-Fetch release much faster now

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9073 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc

index 03613b7254d78273d546c47cb759e6452c56c4d0..a51a11622c52a798d42e612548767793d6d66a66 100644 (file)
@@ -110,7 +110,8 @@ class appgroup extends plugin
       /* Only display those releases that we are able to read */
       $dn     = $this->config->current['BASE'];
       $filter = "(&(objectClass=organizationalUnit)(objectClass=FAIbranch))";
-      $res    = get_list($filter,"application", $dn, array("ou","FAIstate"), GL_SUBSEARCH);
+      $res    = get_sub_list($filter,array("application","fai"), array(get_ou("applicationou"),get_ou("faiou")),$dn, array("ou","FAIstate"), GL_SUBSEARCH);
+
 
       foreach($res as $attrs){
         if(preg_match("/".get_ou('applicationou')."/",$attrs['dn'])){