diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-09-04 11:32:57 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-09-04 11:32:57 +0100 |
commit | 43edd82fb495e1dda39bdfa0c76de29f6bbbc57a (patch) | |
tree | 4065de56b6def0b03a0d0c2bfdd121d8cb4ed9d2 /app/controllers/application_controller.rb | |
parent | 6d215fba5cc709c43f12f86da39a643e4be5922b (diff) |
Fix for purging of cached attachments for non-default locales.0.17.0.4hotfix/0.17.0.4
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 370e8e15c..921b9a2f5 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -188,14 +188,6 @@ class ApplicationController < ActionController::Base return File.join(File.split(path).map{|x| x[0...max_file_length]}) end - def foi_fragment_cache_all_for_request(info_request) - # return stub path so admin can expire it - first_three_digits = info_request.id.to_s()[0..2] - path = "views/request/#{first_three_digits}/#{info_request.id}" - foi_cache_path = File.expand_path(File.join(File.dirname(__FILE__), '../../cache')) - return File.join(foi_cache_path, path) - end - def foi_fragment_cache_exists?(key_path) return File.exists?(key_path) end |