Commit cbd81b01 authored by Mehdi Lahmam's avatar Mehdi Lahmam

Remove unused `IssuesHelper#bulk_update_milestone_options`

Its last usage has been removed at 2e3c082f.
parent 99bb3dde
......@@ -47,13 +47,6 @@ module IssuesHelper
end
end
def bulk_update_milestone_options
milestones = @project.milestones.active.reorder(due_date: :asc, title: :asc).to_a
milestones.unshift(Milestone::None)
options_from_collection_for_select(milestones, 'id', 'title', params[:milestone_id])
end
def milestone_options(object)
milestones = object.project.milestones.active.reorder(due_date: :asc, title: :asc).to_a
milestones.unshift(object.milestone) if object.milestone.present? && object.milestone.closed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment