mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: S3 CDN warning was showing wrong warning message (#11603)
This commit is contained in:
committed by
GitHub
parent
53f4d54f23
commit
8da0b4979b
@@ -192,7 +192,7 @@ class AdminDashboardData
|
|||||||
|
|
||||||
def s3_cdn_check
|
def s3_cdn_check
|
||||||
if (GlobalSetting.use_s3? || SiteSetting.enable_s3_uploads) && SiteSetting.Upload.s3_cdn_url.blank?
|
if (GlobalSetting.use_s3? || SiteSetting.enable_s3_uploads) && SiteSetting.Upload.s3_cdn_url.blank?
|
||||||
I18n.t('dashboard.s3_config_warning')
|
I18n.t('dashboard.s3_cdn_warning')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user