From a2e427f167beaf671889d51ec1e0ab4846cce0d0 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 27 Mar 2013 15:19:13 -0400 Subject: Bug 855414 - Editing of FlagTypeComment values for each status is broken due to the 4.2 upgrade --- Bugzilla/FlagType.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla/FlagType.pm') diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index 617ea54b7..f2afb6f95 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -52,6 +52,7 @@ use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Util; use Bugzilla::Group; +use Bugzilla::Hook; use base qw(Bugzilla::Object); @@ -133,6 +134,8 @@ sub create { exclusions => $exclusions }); $flagtype->update(); + Bugzilla::Hook::process('flagtype_end_of_create', { type => $flagtype }); + $dbh->bz_commit_transaction(); return $flagtype; } @@ -201,6 +204,9 @@ sub update { undef, $self->id); } + Bugzilla::Hook::process('flagtype_end_of_update', + { type => $self, changed => $changes }); + $dbh->bz_commit_transaction(); return $changes; } -- cgit v1.2.3-24-g4f1b