Commit 1e8add32 authored by Humberto Pereira's avatar Humberto Pereira

Added hook execution to reopened e updated issues

parent 8c670b66
...@@ -13,6 +13,7 @@ class IssueObserver < BaseObserver ...@@ -13,6 +13,7 @@ class IssueObserver < BaseObserver
def after_reopen(issue, transition) def after_reopen(issue, transition)
create_note(issue) create_note(issue)
execute_hooks(issue)
end end
def after_update(issue) def after_update(issue)
...@@ -21,6 +22,7 @@ class IssueObserver < BaseObserver ...@@ -21,6 +22,7 @@ class IssueObserver < BaseObserver
end end
issue.notice_added_references(issue.project, current_user) issue.notice_added_references(issue.project, current_user)
execute_hooks(issue)
end end
protected protected
......
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