summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTimothy Andrew <tim@tim-mbp.local>2016-07-05 08:55:46 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-07-13 13:24:56 +0530
commit4d00ed21ebbc9fd4a1f1b13cbed9a0a9ad2a2a9e (patch)
tree3174c4ef24b3efae8ae94ea188103f15884d0f7b /lib
parentdffdc7b27c1f89e4e26b4714834e4f147c656206 (diff)
downloadgitlab-ce-4d00ed21ebbc9fd4a1f1b13cbed9a0a9ad2a2a9e.tar.gz
Appease rubocop.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git_access.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb
index cfb48ac2382..9f5bb9d62cd 100644
--- a/lib/gitlab/git_access.rb
+++ b/lib/gitlab/git_access.rb
@@ -108,7 +108,6 @@ module Gitlab
actor if actor.is_a?(DeployKey)
end
-
def deploy_key_can_read_project?
if deploy_key
deploy_key.projects.include?(project)