Remove stubiness from AuthPlugin
[lhc/web/wiklou.git] / includes / Setup.php
index 531d1a4..40b3395 100644 (file)
@@ -560,7 +560,7 @@ $wgOut = RequestContext::getMain()->getOutput(); # BackCompat
 $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) );
 
 if ( !is_object( $wgAuth ) ) {
-       $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
+       $wgAuth = new AuthPlugin;
        wfRunHooks( 'AuthPluginSetup', array( &$wgAuth ) );
 }