Code

Do not size limit get_list() query in
authorwolffc <wolffc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 16 Sep 2010 14:41:12 +0000 (14:41 +0000)
committerwolffc <wolffc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 16 Sep 2010 14:41:12 +0000 (14:41 +0000)
get_all_objects_for_given_base() as this function is called when any
FAI class is opened and might not display all content if there are
more than 200 (or the configured size limit) scripts, templates etc.
objects.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19723 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/fai/admin/fai/class_FAI.inc

index ef27ae6ffa6dd94e7636096702eef274df932789..eb78fe08a9cb2a04193952d10e369fae340ab46a 100644 (file)
@@ -64,7 +64,7 @@ class FAI
 
         /* Ldap search for fai classes specified in this release */
         $attributes  = array("dn","objectClass","FAIstate","cn");
-        $res_tmp = get_list($filter,"fai",$fai_base,$attributes,GL_SUBSEARCH | GL_SIZELIMIT);
+        $res_tmp = get_list($filter,"fai",$fai_base,$attributes,GL_SUBSEARCH);
 
         /* check the returned objects, and add/replace them in our return variable */
         foreach($res_tmp as $attr){