MDL-50757 upgrade: Unset config value that will never be used again

This commit is contained in:
Damyon Wiese 2015-07-03 16:37:54 +08:00
parent 316c560cc5
commit 4359caa22b

View File

@ -4433,6 +4433,8 @@ function xmldb_main_upgrade($oldversion) {
// To skip running the same script on the upgrade to the next major release.
set_config('upgrade_calculatedgradeitemsignored', 1);
// This config value is never used again.
unset_config('upgrade_calculatedgradeitemsonlyregrade');
}
// Main savepoint reached.