From ecda470078fa3739d18b61d351720c75e4acabf5 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 8 Dec 2008 15:37:32 +0000 Subject: [PATCH] Updated setup migration -Admin wasn't detected. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13186 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/setup/class_setupStep_Migrate.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc index e1819137b..1a23f45ac 100644 --- a/gosa-core/setup/class_setupStep_Migrate.inc +++ b/gosa-core/setup/class_setupStep_Migrate.inc @@ -1008,6 +1008,7 @@ class Step_Migrate extends setup_step } } + /* Print out results */ if($GOsa_25_found){ @@ -1032,14 +1033,14 @@ class Step_Migrate extends setup_step $this->checks['acls']['STATUS'] = TRUE; $this->checks['acls']['STATUS_MSG']= _("Ok"); $this->checks['acls']['ERROR_MSG'] = $str; - }elseif($GOsa_25_found){ + }else{ $this->checks['acls']['STATUS'] = FALSE; $this->checks['acls']['STATUS_MSG']= _("Failed"); $this->checks['acls']['ERROR_MSG']= _("There is no GOsa administrator account inside your LDAP.")." "; $this->checks['acls']['ERROR_MSG'].= ""; } } - return($ldap->count()>=1); + return($GOsa_26_found); } -- 2.30.2