mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:38:47 +08:00
DEV: Fix incorrect version for removing deprecated code.
It should be deprecated in version 2.2 and removed in version 2.3.
This commit is contained in:
parent
46e62c0d22
commit
8a3d12dd34
|
@ -2,16 +2,16 @@ module SiteSettings; end
|
|||
|
||||
module SiteSettings::DeprecatedSettings
|
||||
SETTINGS = [
|
||||
['logo_url', 'logo', false, '2.4'],
|
||||
['logo_small_url', 'logo_small', false, '2.4'],
|
||||
['digest_logo_url', 'digest_logo', false, '2.4'],
|
||||
['mobile_logo_url', 'mobile_logo', false, '2.4'],
|
||||
['large_icon_url', 'large_icon', false, '2.4'],
|
||||
['favicon_url', 'favicon', false, '2.4'],
|
||||
['apple_touch_icon_url', 'apple_touch_icon', false, '2.4'],
|
||||
['default_opengraph_image_url', 'opengraph_image', false, '2.4'],
|
||||
['twitter_summary_large_image_url', 'twitter_summary_large_image', false, '2.4'],
|
||||
['push_notifications_icon_url', 'push_notifications_icon', false, '2.4']
|
||||
['logo_url', 'logo', false, '2.3'],
|
||||
['logo_small_url', 'logo_small', false, '2.3'],
|
||||
['digest_logo_url', 'digest_logo', false, '2.3'],
|
||||
['mobile_logo_url', 'mobile_logo', false, '2.3'],
|
||||
['large_icon_url', 'large_icon', false, '2.3'],
|
||||
['favicon_url', 'favicon', false, '2.3'],
|
||||
['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']
|
||||
]
|
||||
|
||||
def setup_deprecated_methods
|
||||
|
|
Loading…
Reference in New Issue
Block a user