]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Move doc of the admin_editusers_action hook at its right place
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 13 Apr 2012 15:48:43 +0000 (17:48 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 13 Apr 2012 15:48:43 +0000 (17:48 +0200)
Bugzilla/Hook.pm

index 5d60a87d1076cef7534b6d97f3dc9249328cdf7b..274a50618c088ed56c688a7145f72c64cb5c994b 100644 (file)
@@ -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<vars>
+
+You can add as many new key/value pairs as you want to this hashref.
+It will be passed to the template.
+
+=item C<action>
+
+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<user>
+
+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<vars>
-
-You can add as many new key/value pairs as you want to this hashref.
-It will be passed to the template.
-
-=item C<action>
-
-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<user>
-
-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,