summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config.pm
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2015-08-07 12:12:57 +0200
committerGervase Markham <gerv@gerv.net>2015-08-07 12:12:57 +0200
commitaeb6689d5dcd2d1655236f9abda2ca0c5b794ce7 (patch)
tree192a840dc65cb1ab5874678ef6393da0b136386e /Bugzilla/Config.pm
parent553c7d968414eae0b118fa50f461c729ad75beb7 (diff)
downloadbugzilla-aeb6689d5dcd2d1655236f9abda2ca0c5b794ce7.tar.gz
bugzilla-aeb6689d5dcd2d1655236f9abda2ca0c5b794ce7.tar.xz
Bug 1191255 - Remove requirement to specify SMTP server during installation on Windows. r=LpSolit, a=simon
Diffstat (limited to 'Bugzilla/Config.pm')
-rw-r--r--Bugzilla/Config.pm21
1 files changed, 0 insertions, 21 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm
index 51d65397e..0d61abb7d 100644
--- a/Bugzilla/Config.pm
+++ b/Bugzilla/Config.pm
@@ -260,27 +260,6 @@ sub update_params {
$op_file->close;
}
- if (ON_WINDOWS && !-e SENDMAIL_EXE
- && $param->{'mail_delivery_method'} eq 'Sendmail')
- {
- my $smtp = $answer->{'SMTP_SERVER'};
- if (!$smtp) {
- print "\nBugzilla requires an SMTP server to function on",
- " Windows.\nPlease enter your SMTP server's hostname: ";
- $smtp = <STDIN>;
- chomp $smtp;
- if ($smtp) {
- $param->{'smtpserver'} = $smtp;
- }
- else {
- print "\nWarning: No SMTP Server provided, defaulting to",
- " localhost\n";
- }
- }
-
- $param->{'mail_delivery_method'} = 'SMTP';
- }
-
write_params($param);
if (-e $old_file) {