summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Hook.pm22
1 files changed, 11 insertions, 11 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index a02a04921..dcf82544d 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -880,32 +880,32 @@ Params:
=back
-=head2 sanitycheck_check
+=head2 product_end_of_create
-This hook allows for extra sanity checks to be added, for use by
-F<sanitycheck.cgi>.
+Called right after a new product has been created, allowing additional
+changes to be made to the new product's attributes. This occurs inside of
+a database transaction, so if the hook throws an error all previous
+changes will be rolled back including the creation of the new product.
Params:
=over
-=item C<status> - a CODEREF that allows status messages to be displayed
-to the user. (F<sanitycheck.cgi>'s C<Status>)
+=item C<product> - The new L<Bugzilla::Product> object that was just created.
=back
-=head2 product_end_of_create
+=head2 sanitycheck_check
-Called right after a new product has been created, allowing additional
-changes to be made to the new product's attributes. This occurs inside of
-a database transaction, so if the hook throws an error all previous
-changes will be rolled back including the creation of the new product.
+This hook allows for extra sanity checks to be added, for use by
+F<sanitycheck.cgi>.
Params:
=over
-=item C<product> - The new L<Bugzilla::Product> object that was just created.
+=item C<status> - a CODEREF that allows status messages to be displayed
+to the user. (F<sanitycheck.cgi>'s C<Status>)
=back