MDL-82984 core: Missing step to uninstall filter_tidy
This commit is contained in:
+3
-3
@@ -1240,14 +1240,14 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2024080500.00);
|
||||
}
|
||||
|
||||
if ($oldversion < 2024082300.00) {
|
||||
if ($oldversion < 2024082900.01) {
|
||||
// If filter_tidy is no longer present, remove it.
|
||||
if (!file_exists($CFG->dirroot . '/filter/tidy/version.php')) {
|
||||
// Clean config.
|
||||
unset_all_config_for_plugin('filter_tidy');
|
||||
uninstall_plugin('filter', 'tidy');
|
||||
}
|
||||
|
||||
upgrade_main_savepoint(true, 2024082300.00);
|
||||
upgrade_main_savepoint(true, 2024082900.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2024082900.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2024082900.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.5dev+ (Build: 20240829)'; // Human-friendly version name
|
||||
|
||||
Reference in New Issue
Block a user