mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
DEV: Remove old deprecation warnings where constants already removed (#22140)
We renamed these constants 3 years ago. This PR just removes the old deprecation notices.
This commit is contained in:
@ -31,9 +31,6 @@ class UploadCreator
|
||||
use
|
||||
].each(&:freeze)
|
||||
|
||||
include ActiveSupport::Deprecation::DeprecatedConstantAccessor
|
||||
deprecate_constant "WHITELISTED_SVG_ELEMENTS", "UploadCreator::ALLOWED_SVG_ELEMENTS"
|
||||
|
||||
# Available options
|
||||
# - type (string)
|
||||
# - origin (string)
|
||||
|
Reference in New Issue
Block a user