mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
output: MDL-19797 fix some fallback code in print_header.
This commit is contained in:
parent
f94f09b523
commit
67e84a7f5e
2 changed files with 6 additions and 1 deletions
|
@ -13,6 +13,7 @@ require_login(0, false);
|
|||
|
||||
$adminroot = admin_get_root(); // need all settings
|
||||
admin_externalpage_setup('upgradesettings'); // now hidden page
|
||||
$PAGE->set_generaltype('maintenance');
|
||||
|
||||
// now we'll deal with the case that the admin has submitted the form with new settings
|
||||
if ($data = data_submitted() and confirm_sesskey()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue