mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:56:18 +08:00
12 lines
276 B
Ruby
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
|