Commit cb5af02b authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

The sanitycheck_check hook documentation was in slightly the wrong place

in Bugzilla/Hook.pm.
parent bcd2c583
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment