r52405 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52404‎ | r52405 | r52406 >
Date:18:33, 25 June 2009
Author:aaron
Status:deferred
Tags:
Comment:
Fix target searches to catch user edit checks (bug 19387)
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser_body.php
@@ -1180,7 +1180,7 @@
11811181 $user = User::newFromName( $target );
11821182 if ( $user && $user->getID() ) {
11831183 $searchConds = array(
1184 - 'cul_type' => 'userips',
 1184+ 'cul_type' => array('userips','useredits'),
11851185 'cul_target_id' => $user->getID(),
11861186 );
11871187 } else if ( $target ) {

Status & tagging log