diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-19 13:38:58 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-19 13:45:28 +0200 |
commit | 6d43c95b7011ec7ec4600e00bdc8df76bb39813c (patch) | |
tree | f9ee7a65904f14286d302d1af51add94922fb50d /app/helpers | |
parent | 79f60e2b5cf388416cdc5948e19ae0401f97d353 (diff) | |
download | gitlab-ce-6d43c95b7011ec7ec4600e00bdc8df76bb39813c.tar.gz |
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.rb | 2 |
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? |