From 027e0c20e7da05f350977e2e7f4df6ec388bb4c2 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 30 Apr 2007 09:05:58 +0000 Subject: [PATCH] Added warning Fixed undefiend index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6213 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Migrate.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc index c6f4cc8f2..e8973ed1d 100644 --- a/setup/class_setupStep_Migrate.inc +++ b/setup/class_setupStep_Migrate.inc @@ -190,6 +190,7 @@ class Step_Migrate extends setup_step } $this->check_uidNumbers= array(); + $tmp = array(); while($attrs = $ldap->fetch()){ $tmp[$attrs['uidNumber'][0]][] = $attrs; } @@ -235,6 +236,7 @@ class Step_Migrate extends setup_step } $this->check_gidNumbers= array(); + $tmp = array(); while($attrs = $ldap->fetch()){ $tmp[$attrs['gidNumber'][0]][] = $attrs; } @@ -1123,6 +1125,8 @@ class Step_Migrate extends setup_step return(FALSE); }else{ + echo "REMOVE this : Autocreation of the root object will be donw be create_missing_trees later. !!!!!!!"; + /* Try to find out which values are necessary */ $tmp = $ldap->get_objectclasses(); $oc = $tmp['organization']; -- 2.30.2