Don't expire the current ApplicationSetting in config/initializers/1_settings.rb

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2018-05-16 17:11:59 +02:00
parent 2bdf6edefa
commit d7ecdceb64
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -470,6 +470,3 @@ if Rails.env.test?
Settings.gitlab['default_can_create_group'] = true
Settings.gitlab['default_can_create_team'] = false
end
# Force a refresh of application settings at startup
ApplicationSetting.expire