FIX: refresh should work with shadowed globals

This commit is contained in:
Robin Ward 2015-02-09 16:47:10 -05:00
parent 62b1969c4b
commit 226f4b5bd9

View File

@ -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