$wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParserConf ) );
if ( !is_object( $wgAuth ) ) {
- $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
+ $wgAuth = new AuthPlugin;
wfRunHooks( 'AuthPluginSetup', array( &$wgAuth ) );
}