r60491 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60490‎ | r60491 | r60492 >
Date:08:01, 30 December 2009
Author:tstarling
Status:ok
Tags:
Comment:
Fix for r58197, removed unnecessary array_merge()
Modified paths:
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HistoryPage.php
@@ -319,7 +319,7 @@
320320 function getQueryInfo() {
321321 $queryInfo = array(
322322 'tables' => array('revision'),
323 - 'fields' => array_merge( Revision::selectFields()),
 323+ 'fields' => Revision::selectFields(),
324324 'conds' => array_merge( array('rev_page' => $this->historyPage->title->getArticleID() ), $this->conds ),
325325 'options' => array( 'USE INDEX' => array('revision' => 'page_timestamp') ),
326326 'join_conds' => array( 'tag_summary' => array( 'LEFT JOIN', 'ts_rev_id=rev_id' ) ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58197removed ts_tags from getQueryInfo. it's already added in ChangeTags::modifyDi...freakolowsky15:19, 27 October 2009

Status & tagging log