Move push size check to EE module

# Conflicts:
#	ee/lib/ee/gitlab/git_access.rb
#	lib/gitlab/git_access.rb
This commit is contained in:
Douwe Maan 2018-12-21 17:15:12 +01:00
parent 48ca2dc6e1
commit 8c2172f215
No known key found for this signature in database
GPG Key ID: 5976703F65143D36
1 changed files with 0 additions and 2 deletions

View File

@ -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