Krinkle has uploaded a new change for review.
https://gerrit.wikimedia.org/r/273600
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwitterLogin
refs/changes/00/273600/1
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: newchange
Gerrit-Change-Id: I9e9ab0601a41511b72fd6d209191b4910ca94d10
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwitterLogin
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits