summaryrefslogtreecommitdiff
path: root/app/roles
diff options
context:
space:
mode:
Diffstat (limited to 'app/roles')
-rw-r--r--app/roles/git_push.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/roles/git_push.rb b/app/roles/git_push.rb
index b4c59472a5a..d0267b59b6d 100644
--- a/app/roles/git_push.rb
+++ b/app/roles/git_push.rb
@@ -35,7 +35,7 @@ module GitPush
data = post_receive_data(oldrev, newrev, ref, user)
- web_hooks.each { |web_hook| web_hook.execute(data) }
+ hooks.each { |web_hook| web_hook.execute(data) }
end
def post_receive_data(oldrev, newrev, ref, user)