From d1dffee0582c8fabcdac259f7f496f2d36e0b1f7 Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Thu, 10 Nov 2016 11:24:18 +1100 Subject: [PATCH] Issue #22 - Fixed bootstrap callback code. --- bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index c95cfba..093f7b6 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -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(); }