20210922090000_issue_3759_cache_clear.rb 237 B

123456789
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Issue3759CacheClear < ActiveRecord::Migration[6.0]
  3. def change
  4. return if !Setting.exists?(name: 'system_init_done')
  5. Rails.cache.clear
  6. end
  7. end