diff options
author | travis%sedsystems.ca <> | 2005-03-10 01:10:00 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-10 01:10:00 +0000 |
commit | 3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75 (patch) | |
tree | 3d2126ae418fdcd8c5cbe76d05852f5aa7a0f9b4 /checksetup.pl | |
parent | 56c497393404c0b9077e3050b6c722e41b152c9b (diff) | |
download | bugs-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar bugs-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.gz bugs-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.bz2 bugs-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.xz bugs-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.zip |
Bug 284629 : Combine Param(enable_mail_sending) with Param(maildeliverymethod)
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=Jake a=myk
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/checksetup.pl b/checksetup.pl index 7fda5c978..1464e8516 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1282,10 +1282,10 @@ if (@oldparams) { close PARAMFILE; } -# Set maildeliverymethod to SMTP and prompt for SMTP server +# Set mail_delivery_method to SMTP and prompt for SMTP server # if running on Windows and set to sendmail (Mail::Mailer doesn't # support sendmail on Windows) -if ($^O =~ /MSWin32/i && Param('maildeliverymethod') eq 'sendmail') { +if ($^O =~ /MSWin32/i && Param('mail_delivery_method') eq 'sendmail') { print "\nBugzilla requires an SMTP server to function on Windows.\n" . "Please enter your SMTP server's hostname: "; my $smtp = $answer{'SMTP_SERVER'} @@ -1296,7 +1296,7 @@ if ($^O =~ /MSWin32/i && Param('maildeliverymethod') eq 'sendmail') { print "\nWarning: No SMTP Server provided, defaulting to localhost\n"; $smtp = 'localhost'; } - SetParam('maildeliverymethod', 'smtp'); + SetParam('mail_delivery_method', 'smtp'); SetParam('smtpserver', $smtp); } |