From 0d7f13d56847906ffd2fa107c5a7c4fe6c8e1cca Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 19 Feb 2014 01:04:16 +0800 Subject: Bug 941671: Rename "mozilla-corporation-confidential" to "mozilla-employee-confidential" and update membership accordingly --- Bugzilla/Bug.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 7dc2113e1..6a5e0966e 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -635,6 +635,9 @@ sub create { my ($class, $params) = @_; my $dbh = Bugzilla->dbh; + # BMO - allow parameter alteration before creation + Bugzilla::Hook::process('bug_before_create', { params => $params }); + $dbh->bz_start_transaction(); # These fields have default values which we can use if they are undefined. @@ -3684,7 +3687,7 @@ sub groups { } # BMO: if required, hack in groups exposed by -visible membership - # (eg mozilla-corporation-confidential-visible), so reporters can add the + # (eg mozilla-employee-confidential-visible), so reporters can add the # bug to a group on show_bug. # if the bug is already in the group, the user will not be able to remove # it unless they are a true group member. -- cgit v1.2.3-24-g4f1b