From 43ea3e3d9a20fef9969389b4d9a04bb0519a511f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Feb 2008 13:09:08 +0000 Subject: [PATCH] Updated applications -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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index 03613b725..a51a11622 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -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'])){ -- 2.30.2