mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
FIX: refresh
should work with shadowed globals
This commit is contained in:
parent
62b1969c4b
commit
226f4b5bd9
|
@ -200,11 +200,9 @@ module SiteSettingExtension
|
|||
|
||||
if deletions.length > 0 || changes.length > 0
|
||||
changes.each do |name, val|
|
||||
next if shadowed_settings.include?(name)
|
||||
current[name] = val
|
||||
end
|
||||
deletions.each do |name,val|
|
||||
next if shadowed_settings.include?(name)
|
||||
current[name] = defaults[name]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user