diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-13 15:41:08 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:06 +0000 |
commit | 48d290abd549a623e3af4b62127668cf92018d9c (patch) | |
tree | d12bd6717105464b36699c64c9da08bfa274b74e /perllib/FixMyStreet/Cobrand/FiksGataMi.pm | |
parent | de87d4217334114bc5f92552b29c0c4a59428ca5 (diff) |
Update reporting to use bodies.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FiksGataMi.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FiksGataMi.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm index 6bec115dd..13dded839 100644 --- a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm +++ b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm @@ -100,13 +100,13 @@ sub guess_road_operator { return ''; } -sub remove_redundant_councils { +sub remove_redundant_areas { my $self = shift; - my $all_councils = shift; + my $all_areas = shift; # Oslo is both a kommune and a fylke, we only want to show it once - delete $all_councils->{301} # - if $all_councils->{3}; + delete $all_areas->{301} + if $all_areas->{3}; } sub filter_all_council_ids_list { |