summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-10 02:10:00 +0100
committertravis%sedsystems.ca <>2005-03-10 02:10:00 +0100
commit3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75 (patch)
tree3d2126ae418fdcd8c5cbe76d05852f5aa7a0f9b4 /checksetup.pl
parent56c497393404c0b9077e3050b6c722e41b152c9b (diff)
downloadbugzilla-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.gz
bugzilla-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.xz
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-xchecksetup.pl6
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);
}