summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2020-10-02 15:07:11 -0400
committerBrian Evans <grknight@gentoo.org>2020-10-02 15:07:11 -0400
commite7e713baba52955dea8106c4b050781203280127 (patch)
tree6c49ddf8c0741ce2a4b57804c44ddf7675860a54 /PluggableAuth/includes/PluggableAuth.php
parentUpdate OpenIDConnect to 1.35 (diff)
downloadextensions-e7e713baba52955dea8106c4b050781203280127.tar.gz
extensions-e7e713baba52955dea8106c4b050781203280127.tar.bz2
extensions-e7e713baba52955dea8106c4b050781203280127.zip
Update PluggableAuth to 1.35
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'PluggableAuth/includes/PluggableAuth.php')
-rw-r--r--PluggableAuth/includes/PluggableAuth.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/PluggableAuth/includes/PluggableAuth.php b/PluggableAuth/includes/PluggableAuth.php
index 8ecf4e40..afde9d17 100644
--- a/PluggableAuth/includes/PluggableAuth.php
+++ b/PluggableAuth/includes/PluggableAuth.php
@@ -37,8 +37,11 @@ abstract class PluggableAuth {
*/
public static function singleton() {
wfDebugLog( 'PluggableAuth', 'Getting PluggableAuth singleton' );
- wfDebugLog( 'PluggableAuth', 'Class name: ' . $GLOBALS['wgPluggableAuth_Class'] );
- if ( !is_null( self::$instance ) ) {
+ wfDebugLog(
+ 'PluggableAuth',
+ 'Class name: ' . ( $GLOBALS['wgPluggableAuth_Class'] ?? 'unset' )
+ );
+ if ( self::$instance !== null ) {
wfDebugLog( 'PluggableAuth', 'Singleton already exists' );
return self::$instance;
} elseif ( isset( $GLOBALS['wgPluggableAuth_Class'] ) &&