MDL-78632 core: Update upgrade versions

This commit is contained in:
Andrew Nicols 2023-08-01 09:29:34 +08:00
parent ea6adbc72e
commit 8c8cb002c0
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14
2 changed files with 6 additions and 6 deletions

View File

@ -3064,12 +3064,12 @@ privatefiles,moodle|/user/files.php';
upgrade_main_savepoint(true, 2022112803.03);
}
if ($oldversion < 2022112804.08) {
if ($oldversion < 2022112804.09) {
// Upgrade yaml mime type for existing yaml and yml files.
$filetypes = array(
$filetypes = [
'%.yaml' => 'application/yaml',
'%.yml' => 'application/yaml,'
);
];
$select = $DB->sql_like('filename', '?', false);
foreach ($filetypes as $extension => $mimetype) {
@ -3078,12 +3078,12 @@ privatefiles,moodle|/user/files.php';
'mimetype',
$mimetype,
$select,
array($extension)
[$extension]
);
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2022112804.08);
upgrade_main_savepoint(true, 2022112804.09);
}
return true;

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2022112804.08; // 20221128 = branching date YYYYMMDD - do not modify!
$version = 2022112804.09; // 20221128 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '4.1.4+ (Build: 20230728)'; // Human-friendly version name