]> git.mjollnir.org Git - moodle.git/commitdiff
fixed funny continue button during installation
authorskodak <skodak>
Mon, 11 Sep 2006 21:20:47 +0000 (21:20 +0000)
committerskodak <skodak>
Mon, 11 Sep 2006 21:20:47 +0000 (21:20 +0000)
admin/index.php

index d07929a9fab0d8e545fb2bc17c2a872f888fce5d..d60655fd2660c4f3ded933197ac869e0ad6a231e 100644 (file)
             $cat = new Object();
             $cat->name = get_string('miscellaneous');
             if (insert_record('course_categories', $cat)) {
-                  print_continue("index.php");
+                  redirect('index.php');
             } else {
                  error("Serious Error! Could not set up a default course category!");
             }
 
 /// Set up the admin user
     if (empty($CFG->rolesactive)) {
-        redirect("user.php");
+        redirect('user.php');
     }
 
 /// Check for valid admin user