Merge branch 'MDL-72348-master' of git://github.com/sarjona/moodle

This commit is contained in:
Andrew Nicols 2021-10-05 11:03:05 +08:00 committed by Eloy Lafuente (stronk7)
commit 04ff28f00c
14 changed files with 28 additions and 637 deletions

View file

@ -2862,5 +2862,15 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2021092400.03);
}
if ($oldversion < 2021100300.01) {
// Remove repository_skydrive (unless it has manually been added back).
if (!file_exists($CFG->dirroot . '/repository/skydrive/lib.php')) {
unset_all_config_for_plugin('repository_skydrive');
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2021100300.01);
}
return true;
}