Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

Commit c010c8a

Browse files
committed
Compatibility with old configs
Signed-off-by: Dmitriy Zaporozhets <[email protected]>
1 parent 71e62cb commit c010c8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/1_settings.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def build_gitlab_ci_url
4141
Settings.gitlab_ci['add_committer'] = false if Settings.gitlab_ci['add_committer'].nil?
4242
Settings.gitlab_ci['url'] ||= Settings.send(:build_gitlab_ci_url)
4343

44+
# Compatibility with old config
45+
Settings['gitlab_server_urls'] ||= Settings['allowed_gitlab_urls']
4446

4547
#
4648
# Gravatar

0 commit comments

Comments
 (0)