diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-16 11:15:10 +0100 |
commit | 1339a64632c441e4d7858bd5946738c9840c624d (patch) | |
tree | 0b1393ca9af05d1af690fbf6c569c195f4136e4c /bin/send-comments | |
parent | 17cc40a8a2387669984ae4a36bb0d30d889d1a07 (diff) | |
parent | 4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (diff) |
Merge branch 'fiksgatami-dev' into fiksgatami-prod
Oppgrader prod til 1.7
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-x | bin/send-comments | 4 |
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', } ); } |