mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
removed redirect message, because it was sometimes breaking upgrades due to double redirects
This commit is contained in:
parent
3a8c55c3fb
commit
5d3e0e837a
@ -38,7 +38,8 @@ if ($data = data_submitted()) {
|
||||
}
|
||||
|
||||
if (empty($errors)) {
|
||||
redirect($CFG->wwwroot . '/' . $CFG->admin . '/index.php', get_string('changessaved'),1);
|
||||
// there must be either redirect without message or continue button or else upgrade would be sometimes broken
|
||||
redirect($CFG->wwwroot . '/' . $CFG->admin . '/index.php');
|
||||
die;
|
||||
} else {
|
||||
error(get_string('errorwithsettings', 'admin') . ' <br />' . $errors);
|
||||
|
Loading…
x
Reference in New Issue
Block a user