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 /bin | |
parent | ec55469dadd99dd0f20d3d0c3b4202b6b70bb6ab (diff) | |
parent | 07bc1188dc149e05b61e0d93ecf3ef1c26dc8690 (diff) |
Merge branch 'pluggable-photo-storage'
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixmystreet.com/fixture | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fixmystreet.com/fixture b/bin/fixmystreet.com/fixture index 091fcab9d..2f882381a 100755 --- a/bin/fixmystreet.com/fixture +++ b/bin/fixmystreet.com/fixture @@ -19,6 +19,7 @@ use List::Util qw(shuffle); use Path::Tiny; use FixMyStreet; use FixMyStreet::Cobrand; +use FixMyStreet::PhotoStorage; use FixMyStreet::DB::Factories; use Getopt::Long::Descriptive; @@ -111,8 +112,7 @@ foreach (FixMyStreet::Cobrand->available_cobrand_classes) { } } -my $cache_dir = path(FixMyStreet->config('UPLOAD_DIR')); -$cache_dir->mkpath; +FixMyStreet::PhotoStorage::backend->init() my $user = $users{'user@example.org'}; my $num = 20; |