Krinkle has submitted this change and it was merged.

Change subject: Remove call to User::saveToCache
......................................................................


Remove call to User::saveToCache

This method is meant to be internal to the User class and will be
called automatically when objects are loaded.
No need to call manually.

Required for Ia7ab78ef in MediaWiki core.

Change-Id: I9e9ab0601a41511b72fd6d209191b4910ca94d10
---
M SpecialTwitterLogin.php
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Krinkle: Verified
  Aaron Schulz: Looks good to me, approved



diff --git a/SpecialTwitterLogin.php b/SpecialTwitterLogin.php
index aebfc0c..f1b33f0 100644
--- a/SpecialTwitterLogin.php
+++ b/SpecialTwitterLogin.php
@@ -245,7 +245,6 @@
 
                if ( $row = $dbr->fetchObject( $res ) ) {
                        $dbr->freeResult( $res );
-                       $user->saveToCache();
                } else {
                        $dbr->freeResult( $res );
                        return false;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e9ab0601a41511b72fd6d209191b4910ca94d10
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwitterLogin
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>

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

Reply via email to