diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-07-07 11:36:01 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-07-13 13:24:56 +0530 |
commit | ea9e8f4609f46f9c5713a8346f91dc19d310c2e1 (patch) | |
tree | 6406dec33726bdd99011c7c24920d8020b32027e /lib/gitlab/git_access.rb | |
parent | 4d00ed21ebbc9fd4a1f1b13cbed9a0a9ad2a2a9e (diff) | |
download | gitlab-ce-ea9e8f4609f46f9c5713a8346f91dc19d310c2e1.tar.gz |
Move all "checks" under `GitLab::Checks`.
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4892#note_12892160
- This is more consistent.
Diffstat (limited to 'lib/gitlab/git_access.rb')
-rw-r--r-- | lib/gitlab/git_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb index 9f5bb9d62cd..308f23bc9bc 100644 --- a/lib/gitlab/git_access.rb +++ b/lib/gitlab/git_access.rb @@ -91,7 +91,7 @@ module Gitlab end def change_access_check(change) - ChangeAccessCheck.new(change, user_access: user_access, project: project).exec + Checks::ChangeAccess.new(change, user_access: user_access, project: project).exec end def protocol_allowed? |