From a2ff97637f2a29d1425fccdb036d94265ed0b2b7 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Sun, 3 Dec 2023 23:08:16 +0100 Subject: [PATCH] MDL-80313 upgrade: Fix typo, Moodle 4.1.2 is 2022112802 Link: https://moodledev.io/general/releases#moodle-41-lts --- lib/db/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index ea46aeec7bc..4fa41288e10 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -91,12 +91,12 @@ function xmldb_main_upgrade($oldversion) { // Always keep this upgrade step with version being the minimum // allowed version to upgrade from (v4.1.2 right now). - if ($oldversion < 2021112802) { + if ($oldversion < 2022112802) { // Just in case somebody hacks upgrade scripts or env, we really can not continue. echo("You need to upgrade to 4.1.2 or higher first!\n"); exit(1); // Note this savepoint is 100% unreachable, but needed to pass the upgrade checks. - upgrade_main_savepoint(true, 2021112802); + upgrade_main_savepoint(true, 2022112802); } // Automatically generated Moodle v4.1.0 release upgrade line.