Skip to content

Commit

Permalink
Merge branch 'MDL-49932_master' of git://github.com/markn86/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 30, 2015
2 parents f60ea7d + 3b318d3 commit 3056a26
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/db/upgrade.php
Expand Up @@ -4337,15 +4337,5 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2015040900.02);
}

if ($oldversion < 2015040900.03) {
// Change the setting to the new default.
$oldconfig = get_config('core', 'defaulthomepage');
if ($oldconfig == HOMEPAGE_SITE) {
set_config('defaulthomepage', HOMEPAGE_MY);
}

upgrade_main_savepoint(true, 2015040900.03);
}

return true;
}

0 comments on commit 3056a26

Please sign in to comment.