Commit 8c2172f2 authored by Douwe Maan's avatar Douwe Maan

Move push size check to EE module

# Conflicts:
#	ee/lib/ee/gitlab/git_access.rb
#	lib/gitlab/git_access.rb
parent 48ca2dc6
...@@ -261,8 +261,6 @@ module Gitlab ...@@ -261,8 +261,6 @@ module Gitlab
raise UnauthorizedError, ERROR_MESSAGES[:upload] raise UnauthorizedError, ERROR_MESSAGES[:upload]
end end
return if changes.blank? # Allow access this is needed for EE.
check_change_access! check_change_access!
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment