aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/FixMyStreet.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
index 015da5e0b..e5327b084 100644
--- a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
+++ b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
@@ -200,4 +200,14 @@ sub updates_disallowed {
return $self->next::method(@_);
}
+sub suppress_reporter_alerts {
+ my $self = shift;
+ my $c = $self->{c};
+ my $problem = $c->stash->{report};
+ if ($problem->to_body_named('Westminster')) {
+ return 1;
+ }
+ return 0;
+}
+
1;