mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-78632 core: Update upgrade versions
This commit is contained in:
parent
ce9eee67cb
commit
b74cea9834
2 changed files with 6 additions and 6 deletions
|
@ -3268,12 +3268,12 @@ privatefiles,moodle|/user/files.php';
|
||||||
upgrade_main_savepoint(true, 2023042400.03);
|
upgrade_main_savepoint(true, 2023042400.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2023042401.08) {
|
if ($oldversion < 2023042401.09) {
|
||||||
// Upgrade yaml mime type for existing yaml and yml files.
|
// Upgrade yaml mime type for existing yaml and yml files.
|
||||||
$filetypes = array(
|
$filetypes = [
|
||||||
'%.yaml' => 'application/yaml',
|
'%.yaml' => 'application/yaml',
|
||||||
'%.yml' => 'application/yaml,'
|
'%.yml' => 'application/yaml,'
|
||||||
);
|
];
|
||||||
|
|
||||||
$select = $DB->sql_like('filename', '?', false);
|
$select = $DB->sql_like('filename', '?', false);
|
||||||
foreach ($filetypes as $extension => $mimetype) {
|
foreach ($filetypes as $extension => $mimetype) {
|
||||||
|
@ -3282,12 +3282,12 @@ privatefiles,moodle|/user/files.php';
|
||||||
'mimetype',
|
'mimetype',
|
||||||
$mimetype,
|
$mimetype,
|
||||||
$select,
|
$select,
|
||||||
array($extension)
|
[$extension]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main savepoint reached.
|
// Main savepoint reached.
|
||||||
upgrade_main_savepoint(true, 2023042401.08);
|
upgrade_main_savepoint(true, 2023042401.09);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
$version = 2023042401.08; // 20230424 = branching date YYYYMMDD - do not modify!
|
$version = 2023042401.09; // 20230424 = branching date YYYYMMDD - do not modify!
|
||||||
// RR = release increments - 00 in DEV branches.
|
// RR = release increments - 00 in DEV branches.
|
||||||
// .XX = incremental changes.
|
// .XX = incremental changes.
|
||||||
$release = '4.2.1+ (Build: 20230728)'; // Human-friendly version name
|
$release = '4.2.1+ (Build: 20230728)'; // Human-friendly version name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue