Skip to content

Commit 7b51411

Browse files
committed
Remove ActiveStorage's deprecated configs
`config.active_storage.replace_on_assign_to_many` has been removed at b06252e and `config.active_storage.silence_invalid_content_types_warning` at 0cf8444.
1 parent a17aa63 commit 7b51411

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

activestorage/lib/active_storage/engine.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ class Engine < Rails::Engine # :nodoc:
118118
ActiveStorage.content_types_allowed_inline = app.config.active_storage.content_types_allowed_inline || []
119119
ActiveStorage.binary_content_type = app.config.active_storage.binary_content_type || "application/octet-stream"
120120
ActiveStorage.video_preview_arguments = app.config.active_storage.video_preview_arguments || "-y -vframes 1 -f image2"
121-
122-
unless app.config.active_storage.silence_invalid_content_types_warning.nil?
123-
ActiveStorage.silence_invalid_content_types_warning = app.config.active_storage.silence_invalid_content_types_warning
124-
end
125-
126-
unless app.config.active_storage.replace_on_assign_to_many.nil?
127-
ActiveStorage.replace_on_assign_to_many = app.config.active_storage.replace_on_assign_to_many
128-
end
129-
130121
ActiveStorage.track_variants = app.config.active_storage.track_variants || false
131122
end
132123
end

0 commit comments

Comments
 (0)