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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 14:38:58 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 14:45:28 +0300
commit6d43c95b7011ec7ec4600e00bdc8df76bb39813c (patch)
treef9ee7a65904f14286d302d1af51add94922fb50d /app/helpers
parent79f60e2b5cf388416cdc5948e19ae0401f97d353 (diff)
Revert all changes introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/lfs_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/lfs_helper.rb b/app/helpers/lfs_helper.rb
index 018ca7d7bba..8e827664681 100644
--- a/app/helpers/lfs_helper.rb
+++ b/app/helpers/lfs_helper.rb
@@ -25,7 +25,7 @@ module LfsHelper
def lfs_download_access?
return false unless project.lfs_enabled?
- project.public? || ci? || lfs_deploy_key? || user_can_download_code? || build_can_download_code?
+ project.public? || ci? || user_can_download_code? || build_can_download_code?
end
def user_can_download_code?