mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 00:47:46 -06:00
FIX: Track correct site setting
This commit is contained in:
parent
52a59b5811
commit
7aea7f2cae
@ -30,7 +30,7 @@ DiscourseEvent.on(:site_setting_changed) do |name, old_value, new_value|
|
||||
end
|
||||
end
|
||||
|
||||
Jobs.enqueue(:update_s3_inventory) if [:s3_inventory, :s3_upload_bucket].include?(name)
|
||||
Jobs.enqueue(:update_s3_inventory) if [:enable_s3_inventory, :s3_upload_bucket].include?(name)
|
||||
|
||||
Jobs.enqueue(:update_private_uploads_acl) if name == :prevent_anons_from_downloading_files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user