diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2017-03-06 12:48:10 +0100 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2017-03-06 14:17:07 +0100 |
commit | c727d4328fa14c4e90eb47c04f045c0f54224018 (patch) | |
tree | b44e0a483f82b0902a3cdc52b17fb8be1269db26 /lib/api/helpers.rb | |
parent | 5753acfabc20b97f3ff8f9767382b960a4a9e95a (diff) | |
download | gitlab-ce-c727d4328fa14c4e90eb47c04f045c0f54224018.tar.gz |
Remove "subscribed" field from API responses returning list of issues or merge requestsapi-drop-subscribed
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 8 |
1 files changed, 0 insertions, 8 deletions
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 |