Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/168190

Change subject: $wgAuth shouldn't be a StubObject
......................................................................

$wgAuth shouldn't be a StubObject

Core change Icb36e47a made $wgAuth no longer be a StubObject in core,
and change I92031c905 remove the code to handle it being one.
CentralAuth should follow suit.

Change-Id: I5a1401e56fdff92c97945d1af15517c8db726fb1
---
M includes/CentralAuthHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/90/168190/1

diff --git a/includes/CentralAuthHooks.php b/includes/CentralAuthHooks.php
index 3096872..c07e89b 100644
--- a/includes/CentralAuthHooks.php
+++ b/includes/CentralAuthHooks.php
@@ -229,7 +229,7 @@
         * @return bool
         */
        static function onAuthPluginSetup( &$auth ) {
-               $auth = new StubObject( 'wgAuth', 'CentralAuthPlugin' );
+               $auth = new CentralAuthPlugin;
 
                // If the API 'centralauthtoken' parameter is set, we don't use 
the
                // browser-supplied cookies. Now that $wgContLang is set up, we 
can

-- 
To view, visit https://gerrit.wikimedia.org/r/168190
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a1401e56fdff92c97945d1af15517c8db726fb1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to