summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-02-18 18:04:16 +0100
committerByron Jones <bjones@mozilla.com>2014-02-18 18:04:16 +0100
commit0d7f13d56847906ffd2fa107c5a7c4fe6c8e1cca (patch)
tree6caca50f0ccb3d23bb7f05909827f3de68a693e5 /Bugzilla/Bug.pm
parent41fe61cdd28100b9344cdbec4cd29ed80bfab159 (diff)
downloadbugzilla-0d7f13d56847906ffd2fa107c5a7c4fe6c8e1cca.tar.gz
bugzilla-0d7f13d56847906ffd2fa107c5a7c4fe6c8e1cca.tar.xz
Bug 941671: Rename "mozilla-corporation-confidential" to "mozilla-employee-confidential" and update membership accordingly
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm5
1 files changed, 4 insertions, 1 deletions
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.