summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Object.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Object.pm')
-rw-r--r--Bugzilla/Object.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm
index 05c05f886..cb6543c37 100644
--- a/Bugzilla/Object.pm
+++ b/Bugzilla/Object.pm
@@ -348,6 +348,10 @@ sub update {
$dbh->do("UPDATE $table SET $columns WHERE $id_field = ?", undef,
@values, $self->id) if @values;
+ Bugzilla::Hook('object-end_of_update',
+ { object => $self, old_object => $old_self,
+ changes => \%changes });
+
$dbh->bz_commit_transaction();
if (wantarray) {