diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-02 17:05:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-08 15:32:12 +0100 |
commit | 505953fc71a6142826e1e5743a0a3dc18e306748 (patch) | |
tree | 79bb4371dee529c70a98ef8160da3d412a161d0f /perllib/FixMyStreet/App/Controller/My.pm | |
parent | ba16e095260993d814e6fb603a7d405d08a4ecb9 (diff) |
Remove needless category mappings.
Both filter categories and new report category lists went through mappings
to different data structures, which doesn't seem to be needed.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/My.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm index 1693766ba..f6ba9a6ee 100644 --- a/perllib/FixMyStreet/App/Controller/My.pm +++ b/perllib/FixMyStreet/App/Controller/My.pm @@ -163,7 +163,6 @@ sub setup_page_data : Private { distinct => 1, order_by => [ 'category' ], } )->all; - @categories = map { { name => $_->category, value => $_->category_display } } @categories; $c->stash->{filter_categories} = \@categories; $c->stash->{page} = 'my'; |