Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/git_http_controller.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/projects/git_http_controller.rb b/app/controllers/projects/git_http_controller.rb
index a36dc362f4e..e7b498599f2 100644
--- a/app/controllers/projects/git_http_controller.rb
+++ b/app/controllers/projects/git_http_controller.rb
@@ -76,8 +76,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController
end
def upload_pack_allowed?
- return false unless Gitlab.config.gitlab_shell.upload_pack
-
access_check.allowed? || ci?
end
@@ -96,8 +94,6 @@ class Projects::GitHttpController < Projects::GitHttpClientController
end
def receive_pack_allowed?
- return false unless Gitlab.config.gitlab_shell.receive_pack
-
access_check.allowed?
end