fixed funny continue button during installation

This commit is contained in:
skodak 2006-09-11 21:20:47 +00:00
parent 30cef24b15
commit 8dcc447689

View file

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