diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-10-11 11:47:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-10-11 11:47:43 +0100 |
commit | ad7833e96ae4642d243194b7928cfada1e781a5e (patch) | |
tree | d71da12acee5249b2c46b6b226dd9c8473889ddf /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | a7854f0eef8386f0f880c75947b76f13d0b59079 (diff) | |
parent | 5fa3ad68a1b155cca1afb8936741a8c1e6dff062 (diff) |
Merge branch 'small-inspector-fixes'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 5407ec937..03623259c 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -706,12 +706,6 @@ sub setup_categories_and_bodies : Private { # keysort does not appear to obey locale so use strcoll (see i18n.t) @contacts = sort { strcoll( $a->category, $b->category ) } @contacts; - # Get defect types for inspectors - if ($c->cobrand->can('council_area_id')) { - my $category_defect_types = FixMyStreet::App->model('DB::DefectType')->by_categories($c->cobrand->council_area_id, @contacts); - $c->stash->{category_defect_types} = $category_defect_types; - } - my %seen; foreach my $contact (@contacts) { |