Issue #58 - Added extra hooks for navigation.

This commit is contained in:
Daniel Thee Roperto
2016-09-28 15:27:40 +10:00
parent e2eb105041
commit 200133dcab
3 changed files with 26 additions and 5 deletions

View File

@@ -24,6 +24,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
*/
use auth_outage\local\outagelib;
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir.'/authlib.php');
@@ -53,6 +55,6 @@ class auth_plugin_outage extends auth_plugin_base {
* Login page hook.
*/
public function loginpage_hook() {
\auth_outage\local\outagelib::inject();
outagelib::inject();
}
}