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:
Paul Holden 2021-09-24 12:35:03 +01:00
parent 214adb7984
commit ffa9b692e3
2 changed files with 10 additions and 1 deletions

View File

@ -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;
}

View File

@ -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