REFACTOR: Rename site settings to make them less confusing

This commit is contained in:
Gerhard Schlager
2019-03-13 22:30:25 +01:00
parent 6f6dea87f3
commit c34a6ba674
9 changed files with 29 additions and 16 deletions

View File

@ -11,7 +11,9 @@ module SiteSettings::DeprecatedSettings
['apple_touch_icon_url', 'apple_touch_icon', false, '2.3'],
['default_opengraph_image_url', 'opengraph_image', false, '2.3'],
['twitter_summary_large_image_url', 'twitter_summary_large_image', false, '2.3'],
['push_notifications_icon_url', 'push_notifications_icon', 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']
]
def setup_deprecated_methods