summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-20 16:46:22 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-20 16:46:22 +0200
commited92cfdebd99680048b1a4b697cb338bb93b4170 (patch)
treed0131e7e54ef313ce8b454598da21776a1d89a02 /app
parentf6248c255e1cd6d6d27f1a8d9ac38adc75157c09 (diff)
downloadgitlab-ce-ed92cfdebd99680048b1a4b697cb338bb93b4170.tar.gz
Fix method call for service hook
Diffstat (limited to 'app')
-rw-r--r--app/roles/push_observer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/roles/push_observer.rb b/app/roles/push_observer.rb
index ea9347d08ed..2ee60646e97 100644
--- a/app/roles/push_observer.rb
+++ b/app/roles/push_observer.rb
@@ -57,7 +57,7 @@ module PushObserver
services.each do |service|
# Call service hook only if it is active
- service.execute if service.active
+ service.execute(data) if service.active
end
end