aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-03 16:20:34 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-03 16:20:34 +0100
commitdee51cb3a741be837a41924c96dfef479236401f (patch)
treea80b4e89a25341075943166295f63303a61bdf30 /perllib/FixMyStreet/Cobrand/FiksGataMi.pm
parent539206556a45bf5cc03fcb87e2ea1ecdb3a40941 (diff)
move Norway special case into cobrand
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FiksGataMi.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/FiksGataMi.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
index 448f2e2a6..267be6958 100644
--- a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
+++ b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
@@ -70,6 +70,14 @@ sub remove_redundant_councils {
if $all_councils->{3};
}
+sub filter_all_council_ids_list {
+ my $self = shift;
+ my @all_councils_ids = @_;
+
+ # as above we only want to show Oslo once
+ return grep { $_ != 301 } @all_councils_ids;
+}
+
sub short_name {
my $self = shift;
my ($area, $info) = @_;