Skip to content

Commit

Permalink
admin MDL-20204 Remove blocks from the upgradesettings screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Jun 22, 2010
1 parent f1cee57 commit 1e7d864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/upgradesettings.php
Expand Up @@ -13,6 +13,7 @@

admin_externalpage_setup('upgradesettings'); // now hidden page
$PAGE->set_pagelayout('maintenance'); // do not print any blocks or other rubbish, we want to force saving
$PAGE->blocks->show_only_fake_blocks();
$adminroot = admin_get_root(); // need all settings

// now we'll deal with the case that the admin has submitted the form with new settings
Expand Down

0 comments on commit 1e7d864

Please sign in to comment.