20220524130435_drop_setting_ui_send_client_stats.rb 283 B

123456789
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. class DropSettingUiSendClientStats < ActiveRecord::Migration[6.1]
  3. def change
  4. return if !Setting.exists?(name: 'system_init_done')
  5. Setting.find_by(name: 'ui_send_client_stats')&.destroy
  6. end
  7. end