Commit 9a863145 authored by Douwe Maan's avatar Douwe Maan

Return true from GitlabPostReceive to ensure custom hooks run.

parent 926bef44
......@@ -16,7 +16,7 @@ class GitlabPostReceive
# get value from it
ENV['GL_ID'] = nil
update_redis
success = update_redis
begin
broadcast_message = GitlabNet.new.broadcast_message
......@@ -28,6 +28,8 @@ class GitlabPostReceive
rescue GitlabNet::ApiUnreachableError
nil
end
success
end
protected
......
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