From c727d4328fa14c4e90eb47c04f045c0f54224018 Mon Sep 17 00:00:00 2001 From: Adam Niedzielski Date: Mon, 6 Mar 2017 12:48:10 +0100 Subject: Remove "subscribed" field from API responses returning list of issues or merge requests --- lib/api/helpers.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/api/helpers.rb') diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 9c41146f1e3..a43252a4661 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -388,14 +388,6 @@ module API header(*Gitlab::Workhorse.send_git_archive(repository, ref: ref, format: format)) end - def issue_entity(project) - if project.has_external_issue_tracker? - Entities::ExternalIssue - else - Entities::Issue - end - end - # The Grape Error Middleware only has access to env but no params. We workaround this by # defining a method that returns the right value. def define_params_for_grape_middleware -- cgit v1.2.1