discourse/app/jobs/regular/backfill_sidebar_site_settings.rb
2023-01-09 14:14:59 +00:00

12 lines
276 B
Ruby

# frozen_string_literal: true
class Jobs::BackfillSidebarSiteSettings < Jobs::Base
def execute(args)
SidebarSiteSettingsBackfiller.new(
args[:setting_name],
previous_value: args[:previous_value],
new_value: args[:new_value],
).backfill!
end
end