mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #22 - Added setting and implemented removing elements by basic CSS selector (only simple .class and #id can be used as of now).
This commit is contained in:
@@ -36,6 +36,6 @@ if (is_null($outage)) {
|
||||
}
|
||||
|
||||
$page = maintenance_static_page::create_from_outage($outage);
|
||||
$page->set_preview(true);
|
||||
$page->get_io()->set_preview(true);
|
||||
$page->generate();
|
||||
readfile($page->get_template_file());
|
||||
readfile($page->get_io()->get_template_file());
|
||||
|
||||
Reference in New Issue
Block a user