From 4998f98cf9a52dfbefbfabe13aa364427f3ab7fb Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 4 May 2007 13:18:47 +0000 Subject: [PATCH] Fixed double check in ldap setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6267 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Ldap.inc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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; + } + } } -- 2.30.2