From: hickert Date: Fri, 9 May 2008 07:57:22 +0000 (+0000) Subject: Updated setup (performance) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=84131fd3a37ec52c6685613873b1605f9857bc93;p=gosa.git Updated setup (performance) -Do not query the whole ldap, we just wan't to check if there is an initialized database. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@10851 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Schema.inc b/setup/class_setupStep_Schema.inc index 63b6ce473..c9a38e669 100644 --- a/setup/class_setupStep_Schema.inc +++ b/setup/class_setupStep_Schema.inc @@ -76,7 +76,9 @@ class Step_Schema extends setup_step /* Check if root object exists */ $ldap->cd($cv['base']); + $ldap->set_size_limit(1); $res = $ldap->search("(objectClass=*)"); + $ldap->set_size_limit(0); $smarty = get_smarty(); $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes")));