r20752 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20751‎ | r20752 | r20753 >
Date:20:56, 27 March 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 8933) User::loadFromDatabase() doesn't exist; use User::load()
Modified paths:
  • /trunk/phase3/maintenance/reassignEdits.inc.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/reassignEdits.inc.php
@@ -136,7 +136,7 @@
137137 } else {
138138 $user = User::newFromName( $username );
139139 }
140 - $user->loadFromDatabase();
 140+ $user->load();
141141 return $user;
142142 }
143143