mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-50757 upgrade: Unset config value that will never be used again
This commit is contained in:
parent
316c560cc5
commit
4359caa22b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user