mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:25:24 +08:00
DEV: Remove defunct TODOs (#19825)
* Firefox now finally returns PerformanceMeasure from performance.measure * Some TODOs were really more NOTE or FIXME material or no longer relevant * retain_hours is not needed in ExternalUploadsManager, it doesn't seem like anywhere in the UI sends this as a param for uploads * https://github.com/discourse/discourse/pull/18413 was merged so we can remove JS test workaround for settings
This commit is contained in:
@ -175,12 +175,9 @@ class S3Helper
|
||||
cors_rules: final_rules,
|
||||
},
|
||||
)
|
||||
rescue Aws::S3::Errors::AccessDenied => err
|
||||
# TODO (martin) Remove this warning log level once we are sure this new
|
||||
# ensure_cors! rule is functioning correctly.
|
||||
Discourse.warn_exception(
|
||||
err,
|
||||
message: "Could not PutBucketCors rules for #{@s3_bucket_name}, rules: #{final_rules}",
|
||||
rescue Aws::S3::Errors::AccessDenied
|
||||
Rails.logger.info(
|
||||
"Could not PutBucketCors rules for #{@s3_bucket_name}, rules: #{final_rules}",
|
||||
)
|
||||
return false
|
||||
end
|
||||
|
Reference in New Issue
Block a user