summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/api/projects.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index c3dc3da6fac..5a1b1779ad5 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