mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 08:09:55 -04:00
FIX: refresh
should work with shadowed globals
This commit is contained in:
parent
62b1969c4b
commit
226f4b5bd9
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue