r74837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74836‎ | r74837 | r74838 >
Date:16:53, 16 October 2010
Author:catrope
Status:ok
Tags:
Comment:
Fix r72905: don't run $endTime through wfTimestamp() twice
Modified paths:
  • /trunk/phase3/includes/api/ApiFeedWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFeedWatchlist.php
@@ -70,7 +70,7 @@
7171 'list' => 'watchlist',
7272 'wlprop' => 'title|user|comment|timestamp',
7373 'wldir' => 'older', // reverse order - from newest to oldest
74 - 'wlend' => wfTimestamp( TS_MW, $endTime ), // stop at this time
 74+ 'wlend' => $endTime, // stop at this time
7575 'wllimit' => ( 50 > $wgFeedLimit ) ? $wgFeedLimit : 50
7676 );
7777

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72905(bug 25137) Don't open a DB connection just to (wrongly) use $dbr->timestamp()catrope15:14, 13 September 2010

Status & tagging log