summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authorFrancisco Donalisio <francsd@linux.vnet.ibm.com>2012-03-09 21:04:11 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-03-09 21:04:11 +0100
commit19e709e51b9be52b90bc16f27eaf323be475fe69 (patch)
tree865940c6a23ea1b34c9312d4823e21e5a93cc226 /Bugzilla/Hook.pm
parent823edaec39342c46147a60bd0a1038b392ad60fa (diff)
downloadbugzilla-19e709e51b9be52b90bc16f27eaf323be475fe69.tar.gz
bugzilla-19e709e51b9be52b90bc16f27eaf323be475fe69.tar.xz
Bug 730794 - Need new hook edituser page
r=dkl, a=LpSolit
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm24
1 files changed, 24 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index 17023f8f5..0db7baf7d 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -1354,6 +1354,30 @@ 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 edit_users.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,