2014-09-02 18:07:02 +05:30
|
|
|
module Milestones
|
|
|
|
class ReopenService < Milestones::BaseService
|
|
|
|
def execute(milestone)
|
2018-03-17 18:26:18 +05:30
|
|
|
if milestone.activate && milestone.project_milestone?
|
2014-09-02 18:07:02 +05:30
|
|
|
event_service.reopen_milestone(milestone, current_user)
|
|
|
|
end
|
|
|
|
|
|
|
|
milestone
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|