MDL-77598 logstore_legacy: complete plugin uninstallation step.

This commit is contained in:
Paul Holden
2023-03-10 16:19:12 +00:00
parent 5e1df25566
commit 61cd980fb7
2 changed files with 11 additions and 1 deletions

View File

@@ -3118,5 +3118,15 @@ privatefiles,moodle|/user/files.php';
upgrade_main_savepoint(true, 2023030300.03);
}
if ($oldversion < 2023031000.01) {
// If logstore_legacy is no longer present, remove it.
if (!file_exists($CFG->dirroot . '/admin/tool/log/store/legacy/version.php')) {
unset_all_config_for_plugin('logstore_legacy');
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2023031000.01);
}
return true;
}

View File

@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2023031000.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2023031000.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
$release = '4.2dev (Build: 20230310)'; // Human-friendly version name