diff options
author | Dave Arter <davea@mysociety.org> | 2018-09-28 16:20:09 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-09-28 16:20:09 +0100 |
commit | aedfb6de6b4839396b8bcc885e075b28ea9b4885 (patch) | |
tree | 1ac3c9d0148b3f98ff29985e8c760740bb8d2548 /perllib/FixMyStreet.pm | |
parent | ec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff) | |
parent | 07bc1188dc149e05b61e0d93ecf3ef1c26dc8690 (diff) |
Merge branch 'pluggable-photo-storage'
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r-- | perllib/FixMyStreet.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm index c8d22fe50..d10ce93aa 100644 --- a/perllib/FixMyStreet.pm +++ b/perllib/FixMyStreet.pm @@ -113,12 +113,14 @@ sub override_config($&) { ); FixMyStreet::Map::reload_allowed_maps() if $config->{MAP_TYPE}; + $FixMyStreet::PhotoStorage::instance = undef if $config->{PHOTO_STORAGE_BACKEND}; $code->(); $override_guard->restore(); mySociety::MaPit::configure() if $config->{MAPIT_URL}; FixMyStreet::Map::reload_allowed_maps() if $config->{MAP_TYPE}; + $FixMyStreet::PhotoStorage::instance = undef if $config->{PHOTO_STORAGE_BACKEND}; } =head2 dbic_connect_info |