Fix r72905: don't run $endTime through wfTimestamp() twice
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 16 Oct 2010 16:53:10 +0000 (16:53 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 16 Oct 2010 16:53:10 +0000 (16:53 +0000)
includes/api/ApiFeedWatchlist.php

index 3cde8db..31462a3 100644 (file)
@@ -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
                        );