Commit 52aecd21 authored by Patrick Bajao's avatar Patrick Bajao

Remove unneeded default value for param

parent 0bdddc87
...@@ -38,7 +38,7 @@ module Git ...@@ -38,7 +38,7 @@ module Git
(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) || Feature.enabled?(:git_push_execute_all_project_hooks, project)
end end
def process_changes(ref_type, changes, execute_project_hooks: true) def process_changes(ref_type, changes, execute_project_hooks:)
push_service_class = push_service_class_for(ref_type) push_service_class = push_service_class_for(ref_type)
changes.each do |change| changes.each do |change|
......
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