Skip to content

Commit

Permalink
[Northants] Skip sending updates on reports pulled from Alloy.
Browse files Browse the repository at this point in the history
  • Loading branch information
neprune authored and dracos committed Jun 7, 2024
1 parent a203eba commit 5974641
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perllib/FixMyStreet/Cobrand/Northamptonshire.pm
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ sub should_skip_sending_update {
return 1;
}

if ($self->is_defect($p)) {
return 1;
}

my $move = DateTime->new(year => 2022, month => 9, day => 12, hour => 9, minute => 30, time_zone => FixMyStreet->local_time_zone);
return 1 if $p->whensent < $move;

Expand Down

0 comments on commit 5974641

Please sign in to comment.