From 8c2172f215f83893516c0f3cfad8a5daa7320a50 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Fri, 21 Dec 2018 17:15:12 +0100 Subject: Move push size check to EE module # Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb --- lib/gitlab/git_access.rb | 2 -- 1 file changed, 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 -- cgit v1.2.1