FIX: Track correct site setting

This commit is contained in:
Gerhard Schlager 2019-12-24 14:11:37 +01:00
parent 52a59b5811
commit 7aea7f2cae

View File

@ -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