r99236 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99235‎ | r99236 | r99237 >
Date:19:11, 7 October 2011
Author:btongminh
Status:ok
Tags:
Comment:
Follow-up r84765, use timestampOrNull
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryBase.php
@@ -228,7 +228,7 @@
229229 protected function addTimestampWhereRange( $field, $dir, $start, $end, $sort = true ) {
230230 $db = $this->getDb();
231231 return $this->addWhereRange( $field, $dir,
232 - $db->timestamp( $start ), $db->timestamp( $end ), $sort );
 232+ $db->timestampOrNull( $start ), $db->timestampOrNull( $end ), $sort );
233233 }
234234
235235 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r103029REL1_18 MFT r99236, r102301, r102303, r102498, r102710, r102751, r102951, r10...reedy20:58, 14 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84765(bug 28070) Fix watchlist RSS for databases that store timestamps in a real t...btongminh21:05, 25 March 2011
r99138(bug 29392) Setting the start or end parameter now works with lists blocks, c...btongminh20:46, 6 October 2011

Status & tagging log