The point of stubs is to delay loading tons of code as late as
possible. AuthPlugin is about the same size as StubObject, so
we're not really saving anything.
Change-Id: Icb36e47a8e9ff9f0f60ac1a8f1698102a1aa2366
$wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) );
if ( !is_object( $wgAuth ) ) {
- $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
+ $wgAuth = new AuthPlugin;
wfRunHooks( 'AuthPluginSetup', array( &$wgAuth ) );
}