diff options
author | Struan Donald <struan@exo.org.uk> | 2012-04-27 11:29:25 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-04-27 11:29:25 +0100 |
commit | 6280811fb4a16e7351889792dfdaad92290473fb (patch) | |
tree | ceed7383eaf070fd277ac13cf9c01e16e444a9f1 /bin/send-comments | |
parent | 58943c9484e4bcbcfcd52b92b210eef41b0d30a2 (diff) |
do not send comments with an external id
Diffstat (limited to 'bin/send-comments')
-rwxr-xr-x | bin/send-comments | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-comments b/bin/send-comments index dd60f8451..acd32d53a 100755 --- a/bin/send-comments +++ b/bin/send-comments @@ -43,6 +43,7 @@ my $councils = FixMyStreet::App->model('DB::Open311Conf')->search( { while ( my $council = $councils->next ) { my $comments = FixMyStreet::App->model('DB::Comment')->search( { 'me.whensent' => undef, + 'me.external_id' => undef, 'problem.whensent' => { '!=' => undef }, 'problem.external_id' => { '!=' => undef }, 'problem.council' => { -like => '%' . $council->area_id .'%' }, |