Merge branch 'MDL-45086-master' of git://github.com/danpoltawski/moodle

This commit is contained in:
Sam Hemelryk 2014-04-15 09:50:38 +12:00
commit 92f4d00e5d

View File

@ -1261,7 +1261,7 @@ function disable_output_buffering() {
*/
function redirect_if_major_upgrade_required() {
global $CFG;
$lastmajordbchanges = 2014040408.00;
$lastmajordbchanges = 2014040800.00;
if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or
during_initial_install() or !empty($CFG->adminsetuppending)) {
try {