diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 21:32:08 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 21:32:08 +0100 |
commit | a7196a73cec5af3aa91f0af93d6316df1db7f433 (patch) | |
tree | 626dbd7866fb497f063767868d8c428a30d8b8f6 /Bugzilla/Hook.pm | |
parent | 5721ab05a01ea3dacfc6f07669469b3868a4df06 (diff) | |
download | bugzilla-a7196a73cec5af3aa91f0af93d6316df1db7f433.tar.gz bugzilla-a7196a73cec5af3aa91f0af93d6316df1db7f433.tar.xz |
Bug 545715: New Hook: bugmail_relationships
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r-- | Bugzilla/Hook.pm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index cf718c94f..a02a04921 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -398,6 +398,33 @@ instead of as a string.) =back +=head2 bugmail_relationships + +There are various sorts of "relationships" that a user can have to a bug, +such as Assignee, CC, etc. If you want to add a new type of relationship, +you should use this hook. + +Params: + +=over + +=item C<relationships> + +A hashref, where the keys are numbers and the values are strings. + +The keys represent a numeric identifier for the relationship. The +numeric identifier should be a negative number between -1 and -127. +The number must be unique across all extensions. (Negative numbers +are used so as not to conflict with relationship identifiers in Bugzilla +itself.) + +The value is the "name" of this relationship that will show up in email +headers in bugmails. The "name" should be short and should contain no +spaces. + +=back + + =head2 colchange_columns This happens in F<colchange.cgi> right after the list of possible display |