]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
The sanitycheck_check hook documentation was in slightly the wrong place
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 16 Feb 2010 00:19:56 +0000 (16:19 -0800)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 16 Feb 2010 00:19:56 +0000 (16:19 -0800)
in Bugzilla/Hook.pm.

Bugzilla/Hook.pm

index a02a049211a83bdea6378061f53a09722e9589c9..dcf82544dae0f573bd85894f638ceb6bc1ad3233 100644 (file)
@@ -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