diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r-- | Bugzilla/Bug.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 0119681f8..444858bd1 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -35,6 +35,7 @@ use Bugzilla::Constants; use Bugzilla::Field; use Bugzilla::Flag; use Bugzilla::FlagType; +use Bugzilla::Hook; use Bugzilla::Keyword; use Bugzilla::User; use Bugzilla::Util; @@ -770,6 +771,11 @@ sub update { $changes->{'dup_id'} = [$old_dup || undef, $cur_dup || undef]; } + Bugzilla::Hook::process('bug-end_of_update', { bug => $self, + timestamp => $delta_ts, + changes => $changes, + }); + # If any change occurred, refresh the timestamp of the bug. if (scalar(keys %$changes) || $self->{added_comments}) { $dbh->do('UPDATE bugs SET delta_ts = ? WHERE bug_id = ?', |