removed redirect message, because it was sometimes breaking upgrades due to double redirects

This commit is contained in:
skodak 2006-09-07 19:18:48 +00:00
parent 3a8c55c3fb
commit 5d3e0e837a

View File

@ -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);