Page MenuHomePhabricator

In doMainQuery: 2x "$join_conds = array(); " (one is enough!)
Closed, ResolvedPublic

Description

public function doMainQuery( $conds, $opts ) {

global $wgUser;

$tables = array( 'recentchanges' );
$join_conds = array(); // 1.)
$query_options = array( 'USE INDEX' => array('recentchanges' => 'rc_timestamp') );

$uid = $wgUser->getId();
$dbr = wfGetDB( DB_SLAVE );
$limit = $opts['limit'];
$namespace = $opts['namespace'];
$invert = $opts['invert'];

$join_conds = array(); // 2.) doublure

Version: 1.16.x
Severity: trivial
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialRecentchanges.php?view=markup&sortby=file&pathrev=61625

Details

Reference
bz22310

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:58 PM
bzimport set Reference to bz22310.
bzimport added a subscriber: Unknown Object (MLST).