mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: remove site setting 'shadowed-by-global' option (#8061)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user