r84990 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84989‎ | r84990 | r84991 >
Date:23:25, 29 March 2011
Author:ashley
Status:deferred
Tags:
Comment:
SocialProfile: pass the $user parameter to initProfile() in SpecialUpdateProfile.php in order to initialize the correct user's profile
Modified paths:
  • /trunk/extensions/SocialProfile/UserProfile/SpecialUpdateProfile.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserProfile/SpecialUpdateProfile.php
@@ -287,7 +287,7 @@
288288 $user = $wgUser;
289289 }
290290
291 - $this->initProfile();
 291+ $this->initProfile( $user );
292292 $dbw = wfGetDB( DB_MASTER );
293293 $dbw->update(
294294 'user_profile',
@@ -328,7 +328,7 @@
329329 $user = $wgUser;
330330 }
331331
332 - $this->initProfile();
 332+ $this->initProfile( $user );
333333 $dbw = wfGetDB( DB_MASTER );
334334 $dbw->update(
335335 'user_profile',
@@ -358,7 +358,7 @@
359359 $user = $wgUser;
360360 }
361361
362 - $this->initProfile();
 362+ $this->initProfile( $user );
363363 $dbw = wfGetDB( DB_MASTER );
364364 $dbw->update(
365365 'user_profile',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84989SocialProfile: bug #27032 - new EditProfile special page to edit other users'...ashley23:17, 29 March 2011

Status & tagging log