Issue #58 - Decided to support only Moodle 29+ however older versions may work if using an additional local plugin (skeleton included in the local_outage subfolder).

This commit is contained in:
Daniel Thee Roperto
2016-09-29 09:53:19 +10:00
parent 200133dcab
commit 2e363d1acf
6 changed files with 103 additions and 14 deletions

15
lib.php
View File

@@ -22,23 +22,12 @@
* @copyright 2016 Catalyst IT
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
use auth_outage\local\outagelib;
defined('MOODLE_INTERNAL') || die;
function auth_outage_extends_navigation() {
outagelib::inject();
}
function auth_outage_extends_settings_navigation() {
outagelib::inject();
}
function auth_outage_extend_navigation() {
outagelib::inject();
}
function auth_outage_extend_settings_navigation() {
function auth_outage_extend_navigation_user_settings() {
outagelib::inject();
}