summaryrefslogtreecommitdiff
path: root/lib/api/issues.rb
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-01-25 19:35:27 -0200
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-02-03 12:29:16 -0200
commit082f1af5df04ebfe7ef700fd94b713206ad41b5b (patch)
tree333a1a51bf4622b3d9443317b4e1980c94af9fca /lib/api/issues.rb
parenta89aab9c630593524b8a210746d2eb680ac5d102 (diff)
downloadgitlab-ce-27180-v4-api-namespace-introduction.tar.gz
Remove deprecated MR and Issue endpoints and preserve V3 namespace27180-v4-api-namespace-introduction
Diffstat (limited to 'lib/api/issues.rb')
-rw-r--r--lib/api/issues.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index fe016c1ec0a..90fca20d4fa 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -15,8 +15,6 @@ module API
labels = args.delete(:labels)
args[:label_name] = labels if match_all_labels
- args[:search] = "#{Issue.reference_prefix}#{args.delete(:iid)}" if args.key?(:iid)
-
issues = IssuesFinder.new(current_user, args).execute.inc_notes_with_associations
# TODO: Remove in 9.0 pass `label_name: args.delete(:labels)` to IssuesFinder
@@ -97,7 +95,6 @@ module API
params do
optional :state, type: String, values: %w[opened closed all], default: 'all',
desc: 'Return opened, closed, or all issues'
- optional :iid, type: Integer, desc: 'Return the issue having the given `iid`'
use :issues_params
end
get ":id/issues" do