diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-08-13 12:21:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-08-13 13:38:14 +0100 |
commit | ef3a3a789e8f91b62dc562ff69781dc0daa80871 (patch) | |
tree | 6045ce7399229bfcb2eca4090f1707d6fc79830b /bin/send-comments | |
parent | 864fcb6a81b17ec6324598973ff29dd734a7baf8 (diff) |
Remove ms_current_timestamp() override function.
This override is not used anywhere, it dates from a very old long-gone
test script, and causes issues with database query planning.
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', } ); } |