Code

Updated in_array checks in GOsa.
[gosa.git] / gosa-core / setup / class_setup.inc
index bf050d5945d4017b8ea6ccc2cb52f3e87662a9d3..6d0061d95728d423cb0444eb174be3039da4751e 100644 (file)
@@ -39,7 +39,7 @@ class setup
         $this->o_steps[$i++] = new Step_Checks();
         $this->o_steps[$i++] = new Step_License();
         $this->o_steps[$i++] = new Step_Ldap();
-#    $this->o_steps[$i++] = new Step_Schema();
+    $this->o_steps[$i++] = new Step_Schema();
         $this->o_steps[$i++] = new Step_Migrate();
         $this->o_steps[$i++] = new Step_Feedback();
         $this->o_steps[$i++] = new Step_Finish();
@@ -235,9 +235,7 @@ class setup
                 $str .= "&nbsp;<button type='submit' name='test'>"._("Check again")."</button>";
             }
 
-            if(isset($this->o_steps[$this->i_current +1])){
-                $str .= "&nbsp;<button type='submit' name='next'>"._("Next")."</button>";
-            }
+            $str .= "&nbsp;<button type='submit' name='next'>"._("Next")."</button>";
             $str .="</div>";
         }
         return($str);