]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method option...
authorlpsolit%gmail.com <>
Sun, 10 Dec 2006 00:39:18 +0000 (00:39 +0000)
committerlpsolit%gmail.com <>
Sun, 10 Dec 2006 00:39:18 +0000 (00:39 +0000)
Bugzilla/Config/MTA.pm

index 27d03462acb59a71c2c8fb0ef69775accbd6d560..3415677f3acca4ad4d113ec53aaf07ab1b2237d2 100644 (file)
@@ -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
   },