mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #58 - Added extra hooks for navigation.
This commit is contained in:
4
auth.php
4
auth.php
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user