diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 19:56:08 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 19:56:08 +0100 |
commit | d93f2e56c9607d5ad4fb1dd95e63c6cc0940cbc9 (patch) | |
tree | 090baea104777b0868d20de49e808f211aadcf7c /extensions | |
parent | 0c0be3db49141feae89a04d0686f7cd45bea2500 (diff) | |
download | bugzilla-d93f2e56c9607d5ad4fb1dd95e63c6cc0940cbc9.tar.gz bugzilla-d93f2e56c9607d5ad4fb1dd95e63c6cc0940cbc9.tar.xz |
Bug 545683: New Hook: bugmail_recipients
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Example/Extension.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm index e06bd9f2b..77489692c 100644 --- a/extensions/Example/Extension.pm +++ b/extensions/Example/Extension.pm @@ -189,6 +189,14 @@ sub buglist_columns { $columns->{'example'} = { 'name' => 'bugs.delta_ts' , 'title' => 'Example' }; } +sub bugmail_recipients { + my ($self, $args) = @_; + my $recipients = $args->{'recipients'}; + # Uncomment the below line to add the first user in the Bugzilla database + # to every bugmail as though he/she were a CC. + #$recipients->{1}->{+REL_CC} = 1; +} + sub colchange_columns { my ($self, $args) = @_; |