r109602 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109601‎ | r109602 | r109603 >
Date:02:08, 20 January 2012
Author:tstarling
Status:ok
Tags:
Comment:
Fix for missing $dbr->timestamp() noted on CR r104211.
Modified paths:
  • /trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php
@@ -10,7 +10,7 @@
1111 $dbr = wfGetDB( DB_SLAVE );
1212 $dbw = wfGetDB( DB_MASTER );
1313 $fname = 'voterList.php';
14 -$before = isset( $options['before'] ) ? wfTimestamp( TS_MW, strtotime( $options['before'] ) ) : false;
 14+$before = isset( $options['before'] ) ? $dbr->timestamp( strtotime( $options['before'] ) ) : false;
1515 $minEdits = isset( $options['edits'] ) ? intval( $options['edits'] ) : false;
1616
1717 if ( !isset( $args[0] ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104211Add list script for arbcom voteststarling00:55, 25 November 2011

Status & tagging log