diff options
Diffstat (limited to 'app/controllers/admin_controller.rb')
| -rw-r--r-- | app/controllers/admin_controller.rb | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 0bccd3358..0d83c9251 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -29,8 +29,7 @@ class AdminController < ApplicationController          FileUtils.rm_rf(cache_subpath)          # Remove any download zips -        download_dir = request_download_zip_dir(info_request) -        FileUtils.rm_rf(download_dir) +        FileUtils.rm_rf(info_request.download_zip_dir)          # Remove the database caches of body / attachment text (the attachment text          # one is after privacy rules are applied)  | 
