mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
MDL-58266 core_completion: Fix incorrect version bump.
Version was bumped in previously merged issue
This commit is contained in:
parent
09de114dd2
commit
d5e9b5ba2b
@ -2937,7 +2937,7 @@ privatefiles,moodle|/user/files.php';
|
||||
upgrade_main_savepoint(true, 2022101400.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2022101400.02) {
|
||||
if ($oldversion < 2022101400.03) {
|
||||
// Define table to store completion viewed.
|
||||
$table = new xmldb_table('course_modules_viewed');
|
||||
|
||||
@ -2959,10 +2959,10 @@ privatefiles,moodle|/user/files.php';
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2022101400.02);
|
||||
upgrade_main_savepoint(true, 2022101400.03);
|
||||
}
|
||||
|
||||
if ($oldversion < 2022101400.03) {
|
||||
if ($oldversion < 2022101400.04) {
|
||||
// Add legacy data to the new table.
|
||||
$transaction = $DB->start_delegated_transaction();
|
||||
upgrade_set_timeout(3600);
|
||||
@ -2975,10 +2975,10 @@ privatefiles,moodle|/user/files.php';
|
||||
$transaction->allow_commit();
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2022101400.03);
|
||||
upgrade_main_savepoint(true, 2022101400.04);
|
||||
}
|
||||
|
||||
if ($oldversion < 2022101400.04) {
|
||||
if ($oldversion < 2022101400.05) {
|
||||
// Define field viewed to be dropped from course_modules_completion.
|
||||
$table = new xmldb_table('course_modules_completion');
|
||||
$field = new xmldb_field('viewed');
|
||||
@ -2989,7 +2989,7 @@ privatefiles,moodle|/user/files.php';
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2022101400.04);
|
||||
upgrade_main_savepoint(true, 2022101400.05);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2022101400.04; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2022101400.05; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.1dev+ (Build: 20221014)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user