Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-03-01 13:51:36 +0300
committerDouwe Maan <douwe@gitlab.com>2018-03-01 13:51:36 +0300
commit7aa9ec7aa11fee1de915a15c15b5ee164b2f51a4 (patch)
tree696fa6fb298a54561960c7e7d43e6a81173bf98b /app/services
parentbac9bb1866f47f0b1515b8705ea9eba1fa9b9ced (diff)
parenta96ba41f229bd3606696e8e3a6500730e6cb8f63 (diff)
Merge branch 'dz-system-hooks-plugins' into 'master'
Add ability to use external plugins as system hooks See merge request gitlab-org/gitlab-ce!17003
Diffstat (limited to 'app/services')
-rw-r--r--app/services/system_hooks_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb
index a6b7a6e1416..af8c02a10b7 100644
--- a/app/services/system_hooks_service.rb
+++ b/app/services/system_hooks_service.rb
@@ -11,6 +11,8 @@ class SystemHooksService
SystemHook.hooks_for(hooks_scope).find_each do |hook|
hook.async_execute(data, 'system_hooks')
end
+
+ Gitlab::Plugin.execute_all_async(data)
end
private