diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-09-20 14:17:14 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-09-20 14:17:14 +0200 |
commit | 5d96fa703d3d9a17b39c910f3f00c6bf60b0363c (patch) | |
tree | 18a01c00aac67c08902cb823435e50db173af25a /Bugzilla/Config | |
parent | 917ede930a27180b6e6adeb16a46efc8156d36cc (diff) | |
download | bugzilla-5d96fa703d3d9a17b39c910f3f00c6bf60b0363c.tar.gz bugzilla-5d96fa703d3d9a17b39c910f3f00c6bf60b0363c.tar.xz |
Bug 502625: Replace Email::Send with Email::Sender
r=dylan a=glob
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/MTA.pm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index ec74b20b3..7be439bf6 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -12,13 +12,6 @@ use strict; use warnings; use Bugzilla::Config::Common; -# Return::Value 1.666002 pollutes the error log with warnings about this -# deprecated module. We have to set NO_CLUCK = 1 before loading Email::Send -# to disable these warnings. -BEGIN { - $Return::Value::NO_CLUCK = 1; -} -use Email::Send; our $sortkey = 1200; @@ -28,9 +21,7 @@ sub get_param_list { { name => 'mail_delivery_method', type => 's', - # Bugzilla is not ready yet to send mails to newsgroups, and 'IO' - # is of no use for now as we already have our own 'Test' mode. - choices => [grep {$_ ne 'NNTP' && $_ ne 'IO'} Email::Send->new()->all_mailers(), 'None'], + choices => ['Sendmail', 'SMTP', 'Test', 'None'], default => 'Sendmail', checker => \&check_mail_delivery_method }, |