mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Issue #22 - Fixed bootstrap callback code.
This commit is contained in:
1 parent
db6afa4c48
commit
d1dffee058
1 file changed
+1
-1
+1
-1
@@ -40,7 +40,7 @@ if (!isset($CFG->dataroot)) {
|
||||
}
|
||||
|
||||
// 1) Check and run the hook.
|
||||
if (isset($auth_outage_callback) && is_callable($auth_outage_callback)) {
|
||||
if (isset($auth_outage_bootstrap_callback) && is_callable($auth_outage_bootstrap_callback)) {
|
||||
$auth_outage_bootstrap_callback();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user