20191107181428_issue_2715_fix_broken_twitter_urls.rb 380 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require_dependency 'issue_2715_fix_broken_twitter_urls_job' # Rails autoloading expects `issue2715_fix...`
  3. class Issue2715FixBrokenTwitterUrls < ActiveRecord::Migration[5.2]
  4. def up
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Issue2715FixBrokenTwitterUrlsJob.perform_later
  7. end
  8. end