trabajo-afectivo/lib/tasks/zammad/flush/cache.rake
2022-01-01 14:38:12 +01:00

12 lines
282 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
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*'))
end
end
end