diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-06-18 13:43:49 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-11-11 10:29:20 +0000 |
commit | b2735e814c73fe76c8526563b7c5473281938833 (patch) | |
tree | 731d5fecb6a07124e1d0ff94dfc4518e6c54a9a5 /perllib | |
parent | ac82484fb2e2acc95012d8ba0894b1165743b8ea (diff) |
[Bromley] No updates on waste reports.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 5fc03eb81..c9e85a484 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -406,6 +406,16 @@ sub munge_report_new_contacts { $self->SUPER::munge_report_new_contacts($categories); } +sub updates_disallowed { + my $self = shift; + my ($problem) = @_; + + # No updates on waste reports + return 'waste' if $problem->cobrand_data eq 'waste'; + + return $self->next::method(@_); +} + sub bin_addresses_for_postcode { my $self = shift; my $pc = shift; |