From: hickert Date: Fri, 9 May 2008 08:52:04 +0000 (+0000) Subject: Do not query the whole ldap to get object count ... This will freeze the ui for a... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fba7a56e02aa35313ec0c6d1f3209ceb181b1936;p=gosa.git Do not query the whole ldap to get object count ... This will freeze the ui for a couple of minutes. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@10857 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Feedback.inc b/setup/class_setupStep_Feedback.inc index dbc371b84..748f03553 100644 --- a/setup/class_setupStep_Feedback.inc +++ b/setup/class_setupStep_Feedback.inc @@ -80,9 +80,9 @@ class Step_Feedback extends setup_step $cv['connection'], FALSE, $cv['tls']); + $ldap->cd($cv['base']); - $ldap->search("(objectClass=*)",array("dn")); - $this->object_count=$ldap->count(); + $this->object_count= ""; /* Preselect used features */ $oc = $ldap->get_objectclasses();