mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-78632 core: Update upgrade versions
This commit is contained in:
parent
ea6adbc72e
commit
8c8cb002c0
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user