aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-11-25 15:13:10 +0000
committerStruan Donald <struan@exo.org.uk>2019-11-25 15:13:10 +0000
commit762bbc66969e2eb67ad062c45207e5428c63bf9c (patch)
tree80540848b3c4470749e3dfc88fd18a347b65c22b
parente8ee37de9995df94e1995a487011d3760cbb9568 (diff)
parent1cba9999480ecd8bbd3b0e28aae1c74e37dbf0eb (diff)
Merge branch 'peterborough-include-email-categories-on-cobrand'
-rw-r--r--perllib/FixMyStreet/Cobrand/Peterborough.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Peterborough.pm b/perllib/FixMyStreet/Cobrand/Peterborough.pm
index eb9208645..eb4ab815c 100644
--- a/perllib/FixMyStreet/Cobrand/Peterborough.pm
+++ b/perllib/FixMyStreet/Cobrand/Peterborough.pm
@@ -66,17 +66,4 @@ sub open311_munge_update_params {
$params->{description} = "[Customer FMS update] " . $params->{description};
}
-sub categories_restriction {
- my ($self, $rs) = @_;
- # Categories covering Peterborough have a mixture of Open311 and Email
- # send methods. Peterborough only want specific categories to be visible on
- # their cobrand, not the email categories from FMS.com.
- # The FMS.com categories have a devolved send_method set to Email, so we can
- # filter these out.
- return $rs->search( { -or => [
- 'me.send_method' => undef, # Open311 categories
- 'me.send_method' => '', # Open311 categories that have been edited in the admin
- ] } );
-}
-
1;