diff options
-rw-r--r-- | app/models/changeset.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/changeset.rb b/app/models/changeset.rb index eaa51b617..d076b307b 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -112,6 +112,8 @@ class Changeset < ActiveRecord::Base journal = issue.init_journal(user || User.anonymous, ll(Setting.default_language, :text_status_changed_by_changeset, csettext)) issue.status = fix_status issue.done_ratio = done_ratio if done_ratio + Redmine::Hook.call_hook(:model_changeset_scan_commit_for_issue_ids_pre_issue_update, + { :changeset => self, :issue => issue }) issue.save end end |