aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm2
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm12
2 files changed, 0 insertions, 14 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 9a18d0e32..554fbc3b7 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -771,8 +771,6 @@ sub setup_categories_and_bodies : Private {
my %category_groups = ();
for my $category (@category_options) {
my $group = $category->{group} // $category->get_extra_metadata('group') // [''];
- # multiple groups from open311 can contain " which upsets the html so strip them
- $group =~ s/^"|"$//g;
# this could be an array ref or a string
my @groups = ref $group eq 'ARRAY' ? @$group : ($group);
push( @{$category_groups{$_}}, $category ) for @groups;
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 829c85f5d..d2929dcc0 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -1112,18 +1112,6 @@ sub enable_category_groups {
return $self->feature('category_groups');
}
-=item enable_multiple_category_groups
-
-Whether a category can be included in multiple groups. Required enable_category_groups
-to alse be true.
-
-=cut
-
-sub enable_multiple_category_groups {
- my $self = shift;
- return $self->enable_category_groups && $self->feature('multiple_category_groups');
-}
-
sub default_problem_state { 'unconfirmed' }
sub state_groups_admin {