diff options
author | Dave Arter <davea@mysociety.org> | 2015-10-06 11:50:48 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 11:50:48 +0100 |
commit | 2ed2c57659c0d288cd1cec391baef9faf002030d (patch) | |
tree | 742c5ad6e4671050805292061f85e9ff6ec308a0 /perllib/FixMyStreet.pm | |
parent | de8ba7899dd4692cdf062f4b2735157f7fd14cb7 (diff) | |
parent | ffc03ca3330a43a98a3728df6f3d56c7fc1837d1 (diff) |
Merge branch 'zurich-2015-dev-candidate'
This is the work done in early 2015 to improve the Zürich admin interface, primarily.
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r-- | perllib/FixMyStreet.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm index 76760b967..76befb96a 100644 --- a/perllib/FixMyStreet.pm +++ b/perllib/FixMyStreet.pm @@ -124,11 +124,14 @@ sub override_config($&) { } ); + FixMyStreet::Map::reload_allowed_maps() if $config->{MAP_TYPE}; + $code->(); $override_guard1->restore(); $override_guard2->restore(); - mySociety::MaPit::configure() if $config->{MAPIT_URL};; + mySociety::MaPit::configure() if $config->{MAPIT_URL}; + FixMyStreet::Map::reload_allowed_maps() if $config->{MAP_TYPE}; } =head2 dbic_connect_info |