diff options
author | Byron Jones <bjones@mozilla.com> | 2013-10-23 09:25:27 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-10-23 09:25:27 +0200 |
commit | 4f6724b0f86ccffa091ca33c04e237b9dd5d4c4a (patch) | |
tree | 01bc416498ea53d03d569a3b85bb762bbe1c4e3c /Bugzilla/Bug.pm | |
parent | f427f277bf5d4e5f54948ef9a89634961d74298c (diff) | |
download | bugzilla-4f6724b0f86ccffa091ca33c04e237b9dd5d4c4a.tar.gz bugzilla-4f6724b0f86ccffa091ca33c04e237b9dd5d4c4a.tar.xz |
Bug 895687: add UserStory extension
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r-- | Bugzilla/Bug.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 0b17a02e6..9aa34b090 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -997,6 +997,10 @@ sub update { $_->update foreach @{ $self->{_update_ref_bugs} || [] }; delete $self->{_update_ref_bugs}; + # BMO - allow extensions to alter what is logged into bugs_activity + Bugzilla::Hook::process('bug_update_before_logging', + { bug => $self, timestamp => $delta_ts, changes => $changes, old_bug => $old_bug }); + # Log bugs_activity items # XXX Eventually, when bugs_activity is able to track the dupe_id, # this code should go below the duplicates-table-updating code below. |