From: cajus Date: Fri, 30 Mar 2007 14:04:13 +0000 (+0000) Subject: Added GL_NONE to do *no* subtree search X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13d1e987bae250ca6fc05ea86fc05ea999ce479e;p=gosa.git Added GL_NONE to do *no* subtree search git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5943 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 3d693a37c..724e94666 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -436,7 +436,7 @@ class groupManagement extends plugin "groups", $base,array("gidNumber", "cn"), GL_SUBSEARCH); } else { $res = get_list("(&(uid=$Regex)(!(uid=*$))(objectClass=posixAccount)(gidNumber=*))", - "groups", $base,array("gidNumber", "cn")); + "groups", $base,array("gidNumber", "cn"), GL_NONE); } foreach ($res as $attrs){ $primaries[$attrs['gidNumber'][0]]= $attrs['cn'][0]; @@ -449,7 +449,7 @@ class groupManagement extends plugin if ($SubSearch){ $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_SUBSEARCH); } else { - $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description")); + $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_NONE); } foreach($res as $attrs){ if (!isset($primaries[$attrs['gidNumber'][0]])){