diff options
Diffstat (limited to 'app/services/git')
-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:) |