Cicalese has uploaded a new change for review.
https://gerrit.wikimedia.org/r/208148
Change subject: fixed null user id
......................................................................
fixed null user id
Change-Id: I3b4a4edac3cb35f3931175259c234b4d012b4e6c
---
M PluggableAuth.class.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PluggableAuth
refs/changes/48/208148/1
diff --git a/PluggableAuth.class.php b/PluggableAuth.class.php
index cdeef58..eeb030f 100644
--- a/PluggableAuth.class.php
+++ b/PluggableAuth.class.php
@@ -237,7 +237,7 @@
if ( $authorized ) {
if ( $new_user ) {
$user->addToDatabase();
- $instance->saveExtraAttributes( $id );
+ $instance->saveExtraAttributes( $user->mId );
wfDebug( "Added new user: " . $username .
PHP_EOL );
} else {
self::updateUser( $user, $realname, $email );
--
To view, visit https://gerrit.wikimedia.org/r/208148
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b4a4edac3cb35f3931175259c234b4d012b4e6c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PluggableAuth
Gerrit-Branch: master
Gerrit-Owner: Cicalese <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits