mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:03:40 +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
|