Issue #9 - Hooks installed, getting current outage implemented, missing adding information to the UI.

This commit is contained in:
Daniel Thee Roperto
2016-09-06 14:00:14 +10:00
parent aca6a0122e
commit 13418a6a28
5 changed files with 110 additions and 18 deletions

View File

@@ -29,7 +29,14 @@ function auth_outage_extend_navigation_user() {
}
function auth_outage_extend_navigation($data) {
// Never called?
global $CFG;
// FIXME if function is not used, remove it completely.
if ($CFG->debugdisplay) {
var_dump($data);
throw new \Exception("Check outage/lib.php");
}
\auth_outage\outagelib::initialize();
}