summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-27 11:35:32 +0100
committerGervase Markham <gerv@mozilla.org>2011-01-27 11:35:32 +0100
commitedfb8c95f0f19e0482b9c8c4eda4832787f7fd18 (patch)
tree282a654b365a3eaa8756c670690b1c7033ff7dad /Bugzilla/Hook.pm
parent00e1708f9a9162ebb02aaa5a19eb6dcfc8726df8 (diff)
downloadbugzilla-edfb8c95f0f19e0482b9c8c4eda4832787f7fd18.tar.gz
bugzilla-edfb8c95f0f19e0482b9c8c4eda4832787f7fd18.tar.xz
Add diffs parameter to bugmail_recipients hook. r=mkanat.
https://bugzilla.mozilla.org/show_bug.cgi?id=616422
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index abedfde4a..de46f9a25 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -502,8 +502,17 @@ 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
+=item C<diffs>
+
+This is a list of hashes, each hash representing a change to the bug. Each
+hash has the following members: C<field_name>, C<bug_when>, C<old>, C<new>
+and C<who> (a L<Bugzilla::User>). If appropriate, there will also be
+C<attach_id> or C<comment_id>; if either is present, there will be
+C<isprivate>. See C<_get_diffs> in F<Bugzilla/BugMail.pm> to see exactly how
+it is populated. Warning: the format and existence of the "diffs" parameter
+is subject to change in future releases of Bugzilla.
+=back
=head2 bugmail_relationships