From ad5b5d1e51abb02496458989fbff351f57f7fb29 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Mon, 8 Oct 2012 01:54:36 -0700 Subject: [PATCH] projects API should return info about deleted hook --- lib/api/projects.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/api/projects.rb b/lib/api/projects.rb index c3dc3da6..5a1b1779 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -176,7 +176,6 @@ module Gitlab authorize! :admin_project, user_project @hook = user_project.hooks.find(params[:hook_id]) @hook.destroy - nil end # Get a project repository branches