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
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-12-21 19:15:12 +0300
committerDouwe Maan <douwe@selenight.nl>2019-01-02 17:31:33 +0300
commit8c2172f215f83893516c0f3cfad8a5daa7320a50 (patch)
tree7c8ddba8cd0f02110585ccb6f12886118d0939ca /lib
parent48ca2dc6e1bab9aba5baa3412faf66b7ce55b148 (diff)
Move push size check to EE module
# Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git_access.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb
index 679296e031c..010bd0e520c 100644
--- a/lib/gitlab/git_access.rb
+++ b/lib/gitlab/git_access.rb
@@ -261,8 +261,6 @@ module Gitlab
raise UnauthorizedError, ERROR_MESSAGES[:upload]
end
- return if changes.blank? # Allow access this is needed for EE.
-
check_change_access!
end