diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-18 21:17:52 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-18 21:17:52 +0100 |
commit | e068bcc76fe842fbcac8249ed29593f8a17b0c24 (patch) | |
tree | a1cef9f8fddee1fd7462fd4b79357029e9ecab6f /Bugzilla/Bug.pm | |
parent | 64e21e0be7743a07841682c69f062b962550048e (diff) | |
download | bugzilla-e068bcc76fe842fbcac8249ed29593f8a17b0c24.tar.gz bugzilla-e068bcc76fe842fbcac8249ed29593f8a17b0c24.tar.xz |
Bug 813628 - New extension hook for Bugzilla::Bug::update called bug_start_of_update
r/a=LpSolit
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 efad66f62..1f2b3cfea 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -791,6 +791,10 @@ sub update { my ($changes, $old_bug) = $self->SUPER::update(@_); + Bugzilla::Hook::process('bug_start_of_update', + { timestamp => $delta_ts, bug => $self, + old_bug => $old_bug, changes => $changes }); + # Certain items in $changes have to be fixed so that they hold # a name instead of an ID. foreach my $field (qw(product_id component_id)) { |