diff --git a/lib/site_setting_extension.rb b/lib/site_setting_extension.rb index 567de4c65ed..e603dacfaf9 100644 --- a/lib/site_setting_extension.rb +++ b/lib/site_setting_extension.rb @@ -96,7 +96,7 @@ module SiteSettingExtension end def shadowed_settings - @shadowed_settings ||= [] + @shadowed_settings ||= Set.new end def requires_confirmation_settings @@ -124,7 +124,7 @@ module SiteSettingExtension end def secret_settings - @secret_settings ||= [] + @secret_settings ||= Set.new end def plugins