https://bugzilla.wikimedia.org/show_bug.cgi?id=22310
Summary: In doMainQuery: 2x "$join_conds = array(); " (one is
enough!)
Product: MediaWiki
Version: 1.16-svn
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: Normal
Component: Recent changes
AssignedTo: [email protected]
ReportedBy: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l