MDL-20204 prevent distractions (such as blocks) on the upgrade settings page
This commit is contained in:
@@ -12,6 +12,7 @@ $return = optional_param('return', '', PARAM_ALPHA);
|
||||
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
|
||||
$adminroot = admin_get_root(); // need all settings
|
||||
|
||||
// now we'll deal with the case that the admin has submitted the form with new settings
|
||||
|
||||
Reference in New Issue
Block a user