Skip to content

Commit

Permalink
completion MDL-25929 Added upgrade change to remove unused setting
Browse files Browse the repository at this point in the history
  • Loading branch information
sammarshallou committed Jan 18, 2011
1 parent b64a827 commit 89b4ffe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5512,6 +5512,14 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2010121401);
}

if ($oldversion < 2011011800) {

// Clean up the old progress tracked roles setting, no longer used (replaced by enrolment)
unset_config('progresstrackedroles');

upgrade_main_savepoint(true, 2011011800);
}

return true;
}

Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2010122900; // YYYYMMDD = date of the last version bump
$version = 2011011800; // YYYYMMDD = date of the last version bump
// XX = daily increments

$release = '2.0.1+ (Build: 20110105)'; // Human-friendly version name

0 comments on commit 89b4ffe

Please sign in to comment.