From: Frédéric Buclin Date: Fri, 13 Apr 2012 15:46:25 +0000 (+0200) Subject: Move doc of the admin_editusers_action hook at its right place X-Git-Tag: bugzilla-4.3.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6640f64e61f1ad5db0c36e2bbb15a37652108d54;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 b6a27f03d2..8eac561c0c 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -112,6 +112,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,