mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
MDL-78632 core: Update upgrade versions
This commit is contained in:
parent
455db24747
commit
37b27a3853
2 changed files with 6 additions and 6 deletions
|
@ -3348,12 +3348,12 @@ privatefiles,moodle|/user/files.php';
|
|||
upgrade_main_savepoint(true, 2023062900.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2023072500.00) {
|
||||
if ($oldversion < 2023080100.00) {
|
||||
// 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) {
|
||||
|
@ -3362,12 +3362,12 @@ privatefiles,moodle|/user/files.php';
|
|||
'mimetype',
|
||||
$mimetype,
|
||||
$select,
|
||||
array($extension)
|
||||
[$extension]
|
||||
);
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2023072500.00);
|
||||
upgrade_main_savepoint(true, 2023080100.00);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2023072800.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2023080100.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.3dev (Build: 20230728)'; // Human-friendly version name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue