mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #13 - Removed continue button from info page. Link to outage in warning bar opens in new tab.
This commit is contained in:
7
info.php
7
info.php
@@ -38,15 +38,8 @@ $PAGE->set_title("Outage Warning");
|
||||
$PAGE->set_heading("Outage Warning");
|
||||
$PAGE->set_url(new \moodle_url('/auth/outage/info.php'));
|
||||
|
||||
$mform = new \auth_outage\forms\gohome();
|
||||
if ($mform->get_data()) {
|
||||
redirect(new moodle_url('/'));
|
||||
}
|
||||
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
echo outagelib::get_renderer()->renderoutagepage($outage);
|
||||
$mform->display();
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
Reference in New Issue
Block a user