diff options
author | Robert Speicher <robert@gitlab.com> | 2016-09-15 16:29:16 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-09-15 16:29:16 +0000 |
commit | 44a4274c0e0f148bbf031dc6e0eadb20fed60d92 (patch) | |
tree | c1ab04c453ee6e6bf670ce7d086f0c31790763db /lib | |
parent | 7b25add30f7838e1ff9726887cf90dc36406d2a1 (diff) | |
parent | 02bc717f3423b2eb84328f4d908862db10ec76ce (diff) | |
download | gitlab-ce-44a4274c0e0f148bbf031dc6e0eadb20fed60d92.tar.gz |
Merge branch 'fix-old-migration-repos-path-key' into 'master'
Update references to deprecated `repos_path` configuration key to avoid
## What does this MR do?
Update references to deprecated `repos_path` configuration key to avoid errors when updating GitLab from older versions
## Why was this MR needed?
Users were reporting errors when upgrading from GitLab 6.7
## What are the relevant issue numbers?
https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1464
See merge request !6350
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/import_export/repo_restorer.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/import_export/repo_restorer.rb b/lib/gitlab/import_export/repo_restorer.rb index 6d9379acf25..d1e33ea8678 100644 --- a/lib/gitlab/import_export/repo_restorer.rb +++ b/lib/gitlab/import_export/repo_restorer.rb @@ -22,10 +22,6 @@ module Gitlab private - def repos_path - Gitlab.config.gitlab_shell.repos_path - end - def path_to_repo @project.repository.path_to_repo end |