mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #42 - Refactoring code according to Moodle Coding Style.
This commit is contained in:
6
lib.php
6
lib.php
@@ -19,7 +19,7 @@
|
||||
*
|
||||
* @package auth_outage
|
||||
* @author Daniel Thee Roperto <daniel.roperto@catalyst-au.net>
|
||||
* @copyright Catalyst IT
|
||||
* @copyright 2016 Catalyst IT
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
@@ -27,9 +27,9 @@ defined('MOODLE_INTERNAL') || die;
|
||||
// FIXME hook not installing in courses/index.php page as guest.
|
||||
|
||||
function auth_outage_extend_navigation_user() {
|
||||
\auth_outage\outagelib::inject();
|
||||
\auth_outage\local\outagelib::inject();
|
||||
}
|
||||
|
||||
function auth_outage_extend_navigation_frontpage() {
|
||||
\auth_outage\outagelib::inject();
|
||||
\auth_outage\local\outagelib::inject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user