From 3adc35f7907cd1f10cd3db5703887460916f6013 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 16 Oct 2010 16:53:10 +0000 Subject: [PATCH] Fix r72905: don't run $endTime through wfTimestamp() twice --- includes/api/ApiFeedWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1