trabajo-afectivo/lib/tasks/zammad/flush/cache.rake

13 lines
282 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
2018-10-01 17:41:17 +00:00
namespace :zammad do
namespace :flush do
desc 'Flushes all caches'
task :cache do # rubocop:disable Rails/RakeEnvironment
FileUtils.rm_rf(Rails.root.join('tmp/cache*'))
2018-10-01 17:41:17 +00:00
end
end
end