mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-29 06:26:07 +10:00
15 lines
315 B
Ruby
15 lines
315 B
Ruby
module Issues
|
|
class BaseService < ::BaseService
|
|
|
|
private
|
|
|
|
def create_assignee_note(issue)
|
|
Note.create_assignee_change_note(issue, issue.project, current_user, issue.assignee)
|
|
end
|
|
|
|
def execute_hooks(issue)
|
|
issue.project.execute_hooks(issue.to_hook_data, :issue_hooks)
|
|
end
|
|
end
|
|
end
|