Commit bbe2bc71 authored by Mark Chao's avatar Mark Chao

Use previous_changes instead

parent 280dab0d
......@@ -9,7 +9,7 @@ module EE
def execute(issue)
result = super
if (params.include?(:milestone) || params.include?(:milestone_id)) && issue.epic
if issue.previous_changes.include?(:milestone_id) && issue.epic
issue.epic.update_dates
end
......
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