diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-17 18:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-17 18:09:10 +0300 |
commit | 8e129497b2565b8c595ef4f806d9a9595ca654e5 (patch) | |
tree | 7afeeca3ea58013c1e8c3a2055661bacf65577da /app/services | |
parent | 8ae26d705abe341b03bc15d4373d6cd0c77c0baf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/git/process_ref_changes_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git/process_ref_changes_service.rb b/app/services/git/process_ref_changes_service.rb index 3052bed51bc..387cd29d69d 100644 --- a/app/services/git/process_ref_changes_service.rb +++ b/app/services/git/process_ref_changes_service.rb @@ -35,7 +35,7 @@ module Git end def execute_project_hooks?(changes) - (changes.size <= Gitlab::CurrentSettings.push_event_hooks_limit) || Feature.enabled?(:git_push_execute_all_project_hooks, project) + changes.size <= Gitlab::CurrentSettings.push_event_hooks_limit end def process_changes(ref_type, action, changes, execute_project_hooks:) |