Index: trunk/extensions/SecurePoll/cli/wm-scripts/makeArbcomList.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | $dbr = wfGetDB( DB_SLAVE ); |
12 | 12 | $dbw = wfGetDB( DB_MASTER ); |
13 | 13 | $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; |
15 | 15 | $minEdits = isset( $options['edits'] ) ? intval( $options['edits'] ) : false; |
16 | 16 | |
17 | 17 | if ( !isset( $args[0] ) ) { |