diff options
Diffstat (limited to 'app/services/issues/reopen_service.rb')
-rw-r--r-- | app/services/issues/reopen_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/issues/reopen_service.rb b/app/services/issues/reopen_service.rb index 12dbff57ec5..e2b1b5400c7 100644 --- a/app/services/issues/reopen_service.rb +++ b/app/services/issues/reopen_service.rb @@ -5,8 +5,6 @@ module Issues def execute(issue) return issue unless can?(current_user, :reopen_issue, issue) - before_reopen(issue) - if issue.reopen event_service.reopen_issue(issue, current_user) create_note(issue, 'reopened') @@ -23,14 +21,8 @@ module Issues private - def before_reopen(issue) - # Overriden in EE - end - def create_note(issue, state = issue.state) SystemNoteService.change_status(issue, issue.project, current_user, state, nil) end end end - -Issues::ReopenService.prepend_if_ee('EE::Issues::ReopenService') |