From d93f2e56c9607d5ad4fb1dd95e63c6cc0940cbc9 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 11 Feb 2010 10:56:08 -0800 Subject: Bug 545683: New Hook: bugmail_recipients r=mkanat, a=mkanat (module owner) --- extensions/Example/Extension.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extensions/Example/Extension.pm') 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) = @_; -- cgit v1.2.3-24-g4f1b