summaryrefslogtreecommitdiff
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorMehdi Lahmam <mehdi@lahmam.com>2017-08-18 21:53:14 +0200
committerMehdi Lahmam <mehdi@lahmam.com>2017-08-24 12:56:14 +0200
commitfd511639d98962298f4ffb36cb95376bc7c9f19e (patch)
tree92ded463ad367e913ea79310734fe57676dffbf8 /app/helpers/issues_helper.rb
parentcbd81b015621d4ae0076a42e8aa24fd68d36cace (diff)
downloadgitlab-ce-fd511639d98962298f4ffb36cb95376bc7c9f19e.tar.gz
Remove unused `IssuesHelper#due_date_options`
Its last usage has been removed at 05523b5bd1.
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 2bd5dc9e7aa..02c5911e655 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -141,18 +141,6 @@ module IssuesHelper
end.to_h
end
- def due_date_options
- options = [
- Issue::AnyDueDate,
- Issue::NoDueDate,
- Issue::DueThisWeek,
- Issue::DueThisMonth,
- Issue::Overdue
- ]
-
- options_from_collection_for_select(options, 'name', 'title', params[:due_date])
- end
-
def link_to_discussions_to_resolve(merge_request, single_discussion = nil)
link_text = merge_request.to_reference
link_text += " (discussion #{single_discussion.first_note.id})" if single_discussion