FIX: remove site setting 'shadowed-by-global' option (#8061)

This commit is contained in:
Régis Hanol
2019-10-08 12:43:26 -04:00
committed by Robin Ward
parent b20b6c52e1
commit 349c1cd085
3 changed files with 7 additions and 44 deletions

View File

@@ -132,7 +132,7 @@ module SiteSettingExtension
hidden_settings << name
end
if opts[:shadowed_by_global] && GlobalSetting.respond_to?(name)
if GlobalSetting.respond_to?(name)
val = GlobalSetting.public_send(name)
unless val.nil? || (val == ''.freeze)