http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99480
Revision: 99480
Author: catrope
Date: 2011-10-11 15:07:00 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
(bug 31526) Per r84765 CR, change timestamp() to timestampOrNull().
Modified Paths:
--------------
branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php
Modified: branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php
===================================================================
--- branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php 2011-10-11
14:31:02 UTC (rev 99479)
+++ branches/wmf/1.18wmf1/includes/api/ApiQueryWatchlist.php 2011-10-11
15:07:00 UTC (rev 99480)
@@ -135,8 +135,8 @@
$db = $this->getDB();
$this->addWhereRange( 'rc_timestamp', $params['dir'],
- $db->timestamp( $params['start'] ),
- $db->timestamp( $params['end'] ) );
+ $db->timestampOrNull( $params['start'] ),
+ $db->timestampOrNull( $params['end'] ) );
$this->addWhereFld( 'wl_namespace', $params['namespace'] );
if ( !$params['allrev'] ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs