r32995 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32994‎ | r32995 | r32996 >
Date:22:54, 8 April 2008
Author:aaron
Status:old
Tags:
Comment:
Same for $this->user
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -431,7 +431,6 @@
432432 if( is_null($usertitle) ) {
433433 return false;
434434 }
435 - $this->user = $usertitle->getText();
436435 /* Fetch userid at first, if known, provides awesome query plan afterwards */
437436 $userid = User::idFromName( $this->user );
438437 if( !$userid ) {
@@ -440,6 +439,7 @@
441440 $this->mConds[] = "NULL";
442441 } else {
443442 $this->mConds['log_user'] = $userid;
 443+ $this->user = $usertitle->getText();
444444 }
445445 }
446446

Status & tagging log