Code

Added warning
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Apr 2007 09:05:58 +0000 (09:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Apr 2007 09:05:58 +0000 (09:05 +0000)
Fixed undefiend index

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6213 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Migrate.inc

index c6f4cc8f2f72b7fe2a3146b2d1c895a5589740f7..e8973ed1d89f2e470b98f26466f6fbbed528ea9f 100644 (file)
@@ -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'];