diff --git a/classes/local/controllers/infopage.php b/classes/local/controllers/infopage.php index a1be30e..003750c 100644 --- a/classes/local/controllers/infopage.php +++ b/classes/local/controllers/infopage.php @@ -108,7 +108,7 @@ class infopage { $PAGE->set_url(new moodle_url('/auth/outage/info.php')); // No hooks injecting into this page, do it manually. - outagelib::inject(); + echo outagelib::get_inject_code(); echo $OUTPUT->header(); $viewbag = [