diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Council.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Council.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Council.pm b/perllib/FixMyStreet/App/Controller/Council.pm index b488346f8..1d801c292 100644 --- a/perllib/FixMyStreet/App/Controller/Council.pm +++ b/perllib/FixMyStreet/App/Controller/Council.pm @@ -38,15 +38,6 @@ there are no councils then return false. sub load_and_check_councils : Private { my ( $self, $c ) = @_; - # If no mapit is set up, let it through wherever - unless ($c->config->{MAPIT_URL}) { - my $area = { "name" => "Default Area", "type" => "ZZZ", "id" => 0 }; - $c->stash->{all_areas} = { 0 => $area }; - $c->stash->{all_councils} = { 0 => $area }; - $c->stash->{all_council_names} = [ 'Default Area' ]; - return 1; - } - my $latitude = $c->stash->{latitude}; my $longitude = $c->stash->{longitude}; |