From 59746415b881a983503ff2b8ac0eea61c4047b91 Mon Sep 17 00:00:00 2001 From: Nik Gupta Date: Thu, 6 Jun 2024 12:38:05 +0100 Subject: [PATCH] [Northants] Skip sending updates on reports pulled from Alloy. --- perllib/FixMyStreet/Cobrand/Northamptonshire.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perllib/FixMyStreet/Cobrand/Northamptonshire.pm b/perllib/FixMyStreet/Cobrand/Northamptonshire.pm index 516ac73ed7e..9ff0fd39edf 100644 --- a/perllib/FixMyStreet/Cobrand/Northamptonshire.pm +++ b/perllib/FixMyStreet/Cobrand/Northamptonshire.pm @@ -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;