From: Frédéric Buclin Date: Fri, 13 Apr 2012 15:48:43 +0000 (+0200) Subject: Move doc of the admin_editusers_action hook at its right place X-Git-Tag: bugzilla-4.2.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502497f97a999a3b1fffcd5c76264fa04ea0b307;p=thirdparty%2Fbugzilla.git Move doc of the admin_editusers_action hook at its right place --- diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index 5d60a87d10..274a50618c 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -127,6 +127,30 @@ This describes what hooks exist in Bugzilla currently. They are mostly in alphabetical order, but some related hooks are near each other instead of being alphabetical. +=head2 admin_editusers_action + +This hook allows you to add additional actions to the admin Users page. + +Params: + +=over + +=item C + +You can add as many new key/value pairs as you want to this hashref. +It will be passed to the template. + +=item C + +A text which indicates the different behaviors that editusers.cgi will have. +With this hook you can change the behavior of an action or add new actions. + +=item C + +This is a Bugzilla::User object of the user. + +=back + =head2 attachment_process_data This happens at the very beginning process of the attachment creation. @@ -1389,30 +1413,6 @@ name), you can get it from here. =back -=head2 admin_editusers_action - -This hook allows you to add additional actions to the admin Users page. - -Params: - -=over - -=item C - -You can add as many new key/value pairs as you want to this hashref. -It will be passed to the template. - -=item C - -A text which indicates the different behaviors that editusers.cgi will have. -With this hook you can change the behavior of an action or add new actions. - -=item C - -This is a Bugzilla::User object of the user. - -=back - =head2 user_preferences This hook allows you to add additional panels to the User Preferences page,