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

13 lines
281 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://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