mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-77686 logstore_legacy: final plugin uninstallation step.
This supersedes the partial uninstallation from 61cd980f, ensuring we also now clear up any remaining data (e.g. scheduled tasks).
This commit is contained in:
parent
bd2de8edf6
commit
fa921f87f2
@ -3118,16 +3118,6 @@ 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);
|
||||
}
|
||||
|
||||
if ($oldversion < 2023031000.02) {
|
||||
// If editor_tinymce is no longer present, remove it's sub-plugins too.
|
||||
if (!file_exists($CFG->dirroot . '/lib/editor/tinymce/version.php')) {
|
||||
@ -3215,5 +3205,15 @@ privatefiles,moodle|/user/files.php';
|
||||
upgrade_main_savepoint(true, 2023032800.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2023040600.01) {
|
||||
// If logstore_legacy is no longer present, remove it.
|
||||
if (!file_exists($CFG->dirroot . '/admin/tool/log/store/legacy/version.php')) {
|
||||
uninstall_plugin('logstore', 'legacy');
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2023040600.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2023040600.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2023040600.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.2dev+ (Build: 20230406)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user