summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-18 08:15:23 +0100
committermkanat%bugzilla.org <>2009-11-18 08:15:23 +0100
commit03168362d5bec48c98f00446c74fe8edd3019164 (patch)
tree667e0fed9d23b39d04dad26cfb16c7d5097cb894 /Bugzilla/Hook.pm
parent6af8aec0232e9a5bbe2fb371d0871cceb67911a7 (diff)
downloadbugzilla-03168362d5bec48c98f00446c74fe8edd3019164.tar.gz
bugzilla-03168362d5bec48c98f00446c74fe8edd3019164.tar.xz
Bug 524034: New hook: bug-end_of_create_validators
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index b1feea138..b98fc95d7 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -280,6 +280,21 @@ values.
=back
+=head2 bug-end_of_create_validators
+
+This happens during L<Bugzilla::Bug/create>, after all parameters have
+been validated, but before anything has been inserted into the database.
+
+Params:
+
+=over
+
+=item C<params>
+
+A hashref. The validated parameters passed to C<create>.
+
+=back
+
=head2 bug-end_of_update
This happens at the end of L<Bugzilla::Bug/update>, after all other changes are