https://www.mediawiki.org/wiki/Special:Code/MediaWiki/109602

Revision: 109602
Author:   tstarling
Date:     2012-01-20 02:08:32 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
Fix for missing $dbr->timestamp() noted on CR r104211.

Modified Paths:
--------------
    trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php

Modified: trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php
===================================================================
--- trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php       
2012-01-20 01:46:16 UTC (rev 109601)
+++ trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php       
2012-01-20 02:08:32 UTC (rev 109602)
@@ -10,7 +10,7 @@
 $dbr = wfGetDB( DB_SLAVE );
 $dbw = wfGetDB( DB_MASTER );
 $fname = 'voterList.php';
-$before = isset( $options['before'] ) ? wfTimestamp( TS_MW, strtotime( 
$options['before'] ) ) : false;
+$before = isset( $options['before'] ) ? $dbr->timestamp( strtotime( 
$options['before'] ) ) : false;
 $minEdits = isset( $options['edits'] ) ? intval( $options['edits'] ) : false;
 
 if ( !isset( $args[0] ) ) {


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to