From cb5af02bba30efcdaa6a1d099d7d60c2881f3cc4 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 15 Feb 2010 16:19:56 -0800 Subject: The sanitycheck_check hook documentation was in slightly the wrong place in Bugzilla/Hook.pm. --- Bugzilla/Hook.pm | 22 +++++++++++----------- 1 file 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. +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 - a CODEREF that allows status messages to be displayed -to the user. (F's C) +=item C - The new L 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. Params: =over -=item C - The new L object that was just created. +=item C - a CODEREF that allows status messages to be displayed +to the user. (F's C) =back -- cgit v1.2.3-24-g4f1b