mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
fixed funny continue button during installation
This commit is contained in:
parent
30cef24b15
commit
8dcc447689
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue