Commit 769a7f23 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method…

Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method options - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=justdave
parent 146561b4
......@@ -44,7 +44,9 @@ sub get_param_list {
{
name => 'mail_delivery_method',
type => 's',
choices => [Email::Send->new()->all_mailers(), 'None'],
# 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'],
default => 'Sendmail',
checker => \&check_mail_delivery_method
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment