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:
authorMichael Kozono <mkozono@gmail.com>2017-05-23 22:21:57 +0300
committerMichael Kozono <mkozono@gmail.com>2017-06-05 15:32:26 +0300
commit0e3cfc75a3ae244571385c878d0025bdf7a7d394 (patch)
treee24dae740d2d344dcd573e0eaa0981e3d0247ea0 /lib/gitlab/checks
parentb50a22894d4503cf99cecb8162696f854e1b3f85 (diff)
Remove GitAccessStatus (no longer needed)
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r--lib/gitlab/checks/change_access.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/checks/change_access.rb b/lib/gitlab/checks/change_access.rb
index e9782623be5..b6805230348 100644
--- a/lib/gitlab/checks/change_access.rb
+++ b/lib/gitlab/checks/change_access.rb
@@ -31,13 +31,13 @@ module Gitlab
end
def exec
- return GitAccessStatus.new(true) if skip_authorization
+ return true if skip_authorization
push_checks
branch_checks
tag_checks
- GitAccessStatus.new(true)
+ true
end
protected