Skip to content

Commit

Permalink
MDL-32509 enablecourseajax: remove setting from DB
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 5, 2012
1 parent 7aaed66 commit 9fa7437
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 @@ -478,5 +478,13 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2012050300.05);
}

if ($oldversion < 2012050400.01) {

// Clean up removed admin setting.
unset_config('enablecourseajax');

upgrade_main_savepoint(true, 2012050400.01);
}

return true;
}
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
defined('MOODLE_INTERNAL') || die();


$version = 2012050400.00; // YYYYMMDD = weekly release date of this DEV branch
$version = 2012050400.01; // YYYYMMDD = weekly release date of this DEV branch
// RR = release increments - 00 in DEV branches
// .XX = incremental changes

Expand Down

0 comments on commit 9fa7437

Please sign in to comment.