mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08:00
FIX - limit number of embedded media items in a post (#10391)
* FIX - limit number of embedded media items in a post * Add renamed settings to DeprecatedSettings
This commit is contained in:
@ -6,7 +6,9 @@ module SiteSettings::DeprecatedSettings
|
||||
SETTINGS = [
|
||||
['show_email_on_profile', 'moderators_view_emails', true, '2.4'],
|
||||
['allow_moderators_to_create_categories', 'moderators_create_categories', true, '2.4'],
|
||||
['disable_edit_notifications', 'disable_system_edit_notifications', true, '2.4']
|
||||
['disable_edit_notifications', 'disable_system_edit_notifications', true, '2.4'],
|
||||
['newuser_max_images', 'newuser_max_embedded_media', true, '2.7'],
|
||||
['min_trust_to_post_images', 'min_trust_to_post_embedded_media', true, '2.7']
|
||||
]
|
||||
|
||||
def setup_deprecated_methods
|
||||
|
Reference in New Issue
Block a user