mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
REFACTOR: Rename SiteSetting.disable_edit_notifications to disable_system_edit_notifications (#7958)
* REFACTOR: Rename SiteSetting.disable_edit_notifications to disable_system_edit_notifications - The older name could cause some confusion because the setting does not disable all edit notifications, only system ones. * FIX: Add frozen_string_literal: true in the migration * DEV: Deprecate 'disable_edit_notifications'
This commit is contained in:
parent
a49b7bb84a
commit
dcb47d902b
38 changed files with 47 additions and 39 deletions
|
@ -15,7 +15,8 @@ module SiteSettings::DeprecatedSettings
|
|||
['twitter_summary_large_image_url', 'twitter_summary_large_image', false, '2.3'],
|
||||
['push_notifications_icon_url', 'push_notifications_icon', false, '2.3'],
|
||||
['show_email_on_profile', 'moderators_view_emails', true, '2.4'],
|
||||
['allow_moderators_to_create_categories', 'moderators_create_categories', true, '2.4']
|
||||
['allow_moderators_to_create_categories', 'moderators_create_categories', true, '2.4'],
|
||||
['disable_edit_notifications', 'disable_system_edit_notifications', true, '2.4']
|
||||
]
|
||||
|
||||
def setup_deprecated_methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue