1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-17 14:35:29 +02:00

admin MDL-20204 Remove blocks from the upgradesettings screen

This commit is contained in:
Sam Hemelryk 2010-06-22 01:47:51 +00:00
parent f1cee576a1
commit 1e7d864aa9

@ -13,6 +13,7 @@ require_login(0, false);
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