summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-07 12:00:25 +0100
committerGervase Markham <gerv@mozilla.org>2011-01-07 12:00:25 +0100
commit0459ae826b56c137409c5236bbf78ef939ab968c (patch)
treeff2ed0a8aa107865cbd63d17a7e06dbf5aa9141c /Bugzilla/Hook.pm
parentaa94254a92a7d1c4f09275b5937c3eae7300dad6 (diff)
downloadbugzilla-0459ae826b56c137409c5236bbf78ef939ab968c.tar.gz
bugzilla-0459ae826b56c137409c5236bbf78ef939ab968c.tar.xz
Provide user objects to bugmail_recipients hook. r,a=mkanat.
https://bugzilla.mozilla.org/show_bug.cgi?id=622813
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index b48ebb9fa..1b4bdd971 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -494,6 +494,14 @@ as though he were on the CC list:
(We use C<+> in front of C<REL_CC> so that Perl interprets it as a constant
instead of as a string.)
+=item C<users>
+
+This is a hash of L<Bugzilla::User> objects, keyed by id. This is so you can
+find out more information about any of the user ids in the C<recipients> hash.
+Every id in the incoming C<recipients> hash will have an object in here.
+(But if you add additional recipients to the C<recipients> hash, you are
+B<not> required to add them to this hash.)
+
=back