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

This commit is contained in:
Damyon Wiese
2015-07-03 16:48:37 +08:00
parent 1d19128f68
commit 3d517153fa
+2
View File
@@ -4128,6 +4128,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.