mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Issue #22 - Fixed bootstrap callback code.
This commit is contained in:
@@ -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