r45583 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45582‎ | r45583 | r45584 >
Date:20:59, 8 January 2009
Author:ashley
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php
@@ -43,7 +43,7 @@
4444
4545 $count = 0; // To avoid an annoying PHP notice
4646
47 - while( $row = $dbr->fetchObject($res) ){
 47+ while( $row = $dbw->fetchObject($res) ){
4848 $user_name_title = Title::newFromDBkey( $row->page_title );
4949 $user_name = $user_name_title->getText();
5050 $user_id = User::idFromName( $user_name );

Status & tagging log