jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/353823 )

Change subject: Avoid master queries in beginSecondaryAuthentication()
......................................................................


Avoid master queries in beginSecondaryAuthentication()

Bug: T92357
Change-Id: Id4474c8050c5e2c686b3ec3eb94f1d703bd79333
---
M includes/CentralAuthSecondaryAuthenticationProvider.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/CentralAuthSecondaryAuthenticationProvider.php 
b/includes/CentralAuthSecondaryAuthenticationProvider.php
index f97be5b..332b42c 100644
--- a/includes/CentralAuthSecondaryAuthenticationProvider.php
+++ b/includes/CentralAuthSecondaryAuthenticationProvider.php
@@ -39,7 +39,7 @@
        }
 
        public function beginSecondaryAuthentication( $user, array $reqs ) {
-               $centralUser = CentralAuthUser::getMasterInstance( $user );
+               $centralUser = CentralAuthUser::getInstance( $user );
 
                // Since logins are rare, check the actual DB
                $rename = $centralUser->renameInProgressOn( wfWikiID() );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4474c8050c5e2c686b3ec3eb94f1d703bd79333
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to