MDL-76033 core: bump version in is_major_upgrade_required
MDL-58266 changes db structure. So upgrade must happen before accessing any page.
This commit is contained in:
+1
-1
@@ -1411,7 +1411,7 @@ function disable_output_buffering() {
|
||||
*/
|
||||
function is_major_upgrade_required() {
|
||||
global $CFG;
|
||||
$lastmajordbchanges = 2022022200.00;
|
||||
$lastmajordbchanges = 2022101400.03; // This should be the version where the breaking changes happen.
|
||||
|
||||
$required = empty($CFG->version);
|
||||
$required = $required || (float)$CFG->version < $lastmajordbchanges;
|
||||
|
||||
Reference in New Issue
Block a user