From 3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Thu, 10 Mar 2005 01:10:00 +0000 Subject: Bug 284629 : Combine Param(enable_mail_sending) with Param(maildeliverymethod) Patch by Shane H. W. Travis r=Jake a=myk --- defparams.pl | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index b31f18397..af5715235 100644 --- a/defparams.pl +++ b/defparams.pl @@ -671,24 +671,20 @@ sub find_languages { }, { - name => 'enable_mail_sending', - desc => 'If set to \'Off\', Bugzilla will not send out any email of any ' . - 'type whatsoever.
For most administrators, it is useful to ' . - 'be able to disable all mail during testing and initial setup, ' . - 'but other than that they will want to leave it \'On\'.', - type => 'b', - default => 1 - }, - - { - name => 'maildeliverymethod', - desc => 'The method used for mail delivery. The testfile method ' . - 'is useful for debugging (for more information see the ' . - 'Mail::Mailer manual)', + name => 'mail_delivery_method', + desc => 'Defines how email is sent, or if it is sent at all.
' , type => 's', choices => $^O =~ /MSWin32/i - ? ['smtp', 'testfile'] - : ['sendmail', 'smtp', 'qmail', 'testfile'], + ? ['smtp', 'testfile', 'none'] + : ['sendmail', 'smtp', 'qmail', 'testfile', 'none'], default => 'sendmail', checker => \&check_multi }, -- cgit v1.2.3-24-g4f1b