]> git.mjollnir.org Git - moodle.git/commitdiff
removed redirect message, because it was sometimes breaking upgrades due to double...
authorskodak <skodak>
Thu, 7 Sep 2006 19:18:48 +0000 (19:18 +0000)
committerskodak <skodak>
Thu, 7 Sep 2006 19:18:48 +0000 (19:18 +0000)
admin/upgradesettings.php

index aec03bb52e25c9cb378aedaa16dc4641ec846ae4..b9211ebf7d432720aa3da784c1c3cc7199807b9f 100644 (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);