diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-12-21 17:15:12 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2019-01-02 15:31:33 +0100 |
commit | 8c2172f215f83893516c0f3cfad8a5daa7320a50 (patch) | |
tree | 7c8ddba8cd0f02110585ccb6f12886118d0939ca /lib/gitlab/git_access.rb | |
parent | 48ca2dc6e1bab9aba5baa3412faf66b7ce55b148 (diff) | |
download | gitlab-ce-8c2172f215f83893516c0f3cfad8a5daa7320a50.tar.gz |
Move push size check to EE module
# Conflicts:
# ee/lib/ee/gitlab/git_access.rb
# lib/gitlab/git_access.rb
Diffstat (limited to 'lib/gitlab/git_access.rb')
-rw-r--r-- | lib/gitlab/git_access.rb | 2 |
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 |