From: hickert Date: Fri, 4 May 2007 13:18:47 +0000 (+0000) Subject: Fixed double check in ldap setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4998f98cf9a52dfbefbfabe13aa364427f3ab7fb;p=gosa.git Fixed double check in ldap setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6267 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Ldap.inc b/setup/class_setupStep_Ldap.inc index 53ffb364b..429c4f164 100644 --- a/setup/class_setupStep_Ldap.inc +++ b/setup/class_setupStep_Ldap.inc @@ -158,13 +158,6 @@ class Step_Ldap extends setup_step } } - $this->get_connection_status(); - if($this->bind_id && !empty($this->admin) && !empty($this->base)){ - $this->is_completed =TRUE; - }else{ - $this->is_completed =FALSE; - } - if(isset($_POST['append_base_to_admin_dn'])){ $this->append_base_to_admin_dn = TRUE; }else{ @@ -180,6 +173,14 @@ class Step_Ldap extends setup_step }else{ $this->admin = $this->admin_given; } + + $this->get_connection_status(); + if($this->bind_id && !empty($this->admin) && !empty($this->base)){ + $this->is_completed =TRUE; + }else{ + $this->is_completed =FALSE; + } + } }