jenkins-bot has submitted this change and it was merged.
Change subject: Remove stubiness from AuthPlugin
......................................................................
Remove stubiness from AuthPlugin
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
---
M includes/Setup.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
IAlex: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Setup.php b/includes/Setup.php
index 531d1a4..40b3395 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -560,7 +560,7 @@
$wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array(
$wgParserConf ) );
if ( !is_object( $wgAuth ) ) {
- $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
+ $wgAuth = new AuthPlugin;
wfRunHooks( 'AuthPluginSetup', array( &$wgAuth ) );
}
--
To view, visit https://gerrit.wikimedia.org/r/110587
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb36e47a8e9ff9f0f60ac1a8f1698102a1aa2366
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits