From: Roan Kattouw Date: Sat, 16 Oct 2010 16:53:10 +0000 (+0000) Subject: Fix r72905: don't run $endTime through wfTimestamp() twice X-Git-Tag: 1.31.0-rc.0~34481 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=3adc35f7907cd1f10cd3db5703887460916f6013;p=lhc%2Fweb%2Fwiklou.git Fix r72905: don't run $endTime through wfTimestamp() twice --- diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index 3cde8dbf77..31462a329d 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -70,7 +70,7 @@ class ApiFeedWatchlist extends ApiBase { 'list' => 'watchlist', 'wlprop' => 'title|user|comment|timestamp', 'wldir' => 'older', // reverse order - from newest to oldest - 'wlend' => wfTimestamp( TS_MW, $endTime ), // stop at this time + 'wlend' => $endTime, // stop at this time 'wllimit' => ( 50 > $wgFeedLimit ) ? $wgFeedLimit : 50 );