Skip to content

Commit

Permalink
MDL-50757 upgrade: Unset config value that will never be used again
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Jul 3, 2015
1 parent 316c560 commit 4359caa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4359caa

Please sign in to comment.