aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Westminster.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Westminster.pm b/perllib/FixMyStreet/Cobrand/Westminster.pm
index b3ab35b7b..8adb7eb2c 100644
--- a/perllib/FixMyStreet/Cobrand/Westminster.pm
+++ b/perllib/FixMyStreet/Cobrand/Westminster.pm
@@ -153,4 +153,13 @@ sub categories_restriction {
}, { join => 'body' });
}
+sub updates_restriction {
+ my $self = shift;
+
+ # Westminster don't want any fms.com updates shown on their cobrand.
+ return $self->next::method(@_)->search({
+ "me.cobrand" => { '!=', 'fixmystreet' }
+ });
+}
+
1;