summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-09 20:35:01 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-09 20:35:01 +0300
commit1dea54c2201ec5f51bcd8772757dbc6612cc9fdc (patch)
tree5abb49121b1632166a9524d73a7b055470f693ac /config/initializers
parent0094d8f19644152a66b9d21b8cd86f797199311f (diff)
downloadgitlab-ce-1dea54c2201ec5f51bcd8772757dbc6612cc9fdc.tar.gz
Remove unused parts
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/1_settings.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index 140d086054a..1040d840e30 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -272,7 +272,6 @@ Settings.artifacts['max_size'] ||= 100 # in megabytes
#
Settings['registry'] ||= Settingslogic.new({})
Settings.registry['registry'] = false if Settings.registry['enabled'].nil?
-Settings.registry['path'] = File.expand_path(Settings.registry['path'] || File.join(Settings.shared['path'], "registry"), Rails.root)
Settings.registry['host'] ||= "example.com"
Settings.registry['internal_host']||= "localhost"
Settings.registry['key'] ||= nil