summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-12-21 17:15:12 +0100
committerDouwe Maan <douwe@selenight.nl>2019-01-02 15:31:33 +0100
commit8c2172f215f83893516c0f3cfad8a5daa7320a50 (patch)
tree7c8ddba8cd0f02110585ccb6f12886118d0939ca
parent48ca2dc6e1bab9aba5baa3412faf66b7ce55b148 (diff)
downloadgitlab-ce-8c2172f215f83893516c0f3cfad8a5daa7320a50.tar.gz
Move push size check to EE module
# Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb
-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