[bugzilla-gnome-org-customizations] kill code to remove @gnome.bugs people as that prevents watchers to be emailed (bug 744266)



commit dfc3581ccf5f7a708ae9e0a9a4faf1088af989e4
Author: Olav Vitters <olav vitters nl>
Date:   Tue Feb 10 17:03:22 2015 +0100

    kill code to remove @gnome.bugs people as that prevents watchers to be emailed (bug 744266)

 extensions/GNOME/Extension.pm |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/extensions/GNOME/Extension.pm b/extensions/GNOME/Extension.pm
index 84020ae..e5bd37f 100644
--- a/extensions/GNOME/Extension.pm
+++ b/extensions/GNOME/Extension.pm
@@ -284,23 +284,6 @@ sub bug_check_can_change_field {
 #    }
 }
 
-sub bugmail_recipients {
-    my ($self, $args) = @_;
-    my $recipients = $args->{recipients};
-    my $users = $args->{users};
-    my $bug = $args->{bug};
-
-    # Don't email to @gnome.bugs and related
-
-    foreach my $user_id (keys %{$recipients}) {
-        $users->{$user_id} ||= Bugzilla::User->new($user_id);
-        my $user = $users->{$user_id};
-
-        delete $recipients->{$user_id} if $user->email =~ /\.bugs$/;
-    }
-}
-
-
 sub webservice {
     my ($self, $args) = @_;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]