MDL-82984 core: Missing step to uninstall filter_tidy

This commit is contained in:
Sara Arjona
2024-09-02 18:36:03 +02:00
parent 072fb90384
commit 875fa9c2ec
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
View File
@@ -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