diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-18 21:53:14 +0200 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-24 12:56:14 +0200 |
commit | fd511639d98962298f4ffb36cb95376bc7c9f19e (patch) | |
tree | 92ded463ad367e913ea79310734fe57676dffbf8 /app/helpers/issues_helper.rb | |
parent | cbd81b015621d4ae0076a42e8aa24fd68d36cace (diff) | |
download | gitlab-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.rb | 12 |
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 |