diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 22:26:16 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-08 22:26:16 +0300 |
commit | d0a50985ec613584821806062df4eaa39337449c (patch) | |
tree | 97ded486a14bafaca5eec6d14545c6f31470afdd /config | |
parent | 8133e44998236438c46e1b662bd284323287f415 (diff) |
Create ApplicationSettings if does not exist in runtime
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/8_application_settings.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config/initializers/8_application_settings.rb b/config/initializers/8_application_settings.rb deleted file mode 100644 index 6f1dec7de09..00000000000 --- a/config/initializers/8_application_settings.rb +++ /dev/null @@ -1,11 +0,0 @@ -if ActiveRecord::Base.connection.table_exists?('application_settings') - unless ApplicationSetting.any? - ApplicationSetting.create( - default_projects_limit: Settings.gitlab['default_projects_limit'], - signup_enabled: Settings.gitlab['signup_enabled'], - signin_enabled: Settings.gitlab['signin_enabled'], - gravatar_enabled: Settings.gravatar['enabled'], - sign_in_text: Settings.extra['sign_in_text'], - ) - end -end |