MDL-22078 lib: bump redirect_if_major_update_required()

Changes to the course table enforce an update
This commit is contained in:
Dan Poltawski 2016-10-06 09:23:15 +01:00
parent 4dfc6a3296
commit c6c50e04d9

View File

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