mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-72675 repository_picasa: remove plugin config after uninstall.
It was missed as part of the original plugin uninstallation change in 128ebcc4.
This commit is contained in:
parent
214adb7984
commit
ffa9b692e3
@ -2842,5 +2842,14 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2021091700.04);
|
||||
}
|
||||
|
||||
if ($oldversion < 2021092400.01) {
|
||||
// Remove repository_picasa configuration (unless it has manually been added back).
|
||||
if (!file_exists($CFG->dirroot . '/repository/picasa/version.php')) {
|
||||
unset_all_config_for_plugin('repository_picasa');
|
||||
}
|
||||
|
||||
upgrade_main_savepoint(true, 2021092400.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2021092400.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2021092400.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.0dev (Build: 20210924)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user