aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-comments
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-08-13 14:06:28 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-08-13 14:06:28 +0100
commitb5710b291fd44ea7cacb9487de08bd4deba07f59 (patch)
tree4add90ef2cd7f0dce6658e20c213dcbfa3384e43 /bin/send-comments
parent60b3ea26baca8010486fc00c9e60034295e495fd (diff)
parentd9e4afa5ee5e28566871d1ecfc363d547b85a7ed (diff)
Merge branch 'speed-up-things'
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-xbin/send-comments4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-comments b/bin/send-comments
index fabf2b633..fbbd57891 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -130,12 +130,12 @@ while ( my $body = $bodies->next ) {
if ( $id ) {
$comment->update( {
external_id => $id,
- whensent => \'ms_current_timestamp()',
+ whensent => \'current_timestamp',
} );
} else {
$comment->update( {
send_fail_count => $comment->send_fail_count + 1,
- send_fail_timestamp => \'ms_current_timestamp()',
+ send_fail_timestamp => \'current_timestamp',
send_fail_reason => 'Failed to post over Open311',
} );
}