summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-01 05:51:24 +0100
committertravis%sedsystems.ca <>2005-03-01 05:51:24 +0100
commitc62518c3fdaf04fbab67a1e3ad643bb9c54f43cf (patch)
tree98ae1fe51c4a751dde4285c6a03aebe3badee213 /Bugzilla/BugMail.pm
parent2a5d8de847971f7b5476ad6026fcbfcb68813354 (diff)
downloadbugzilla-c62518c3fdaf04fbab67a1e3ad643bb9c54f43cf.tar.gz
bugzilla-c62518c3fdaf04fbab67a1e3ad643bb9c54f43cf.tar.xz
Bug 178370 : global param for whether or not to send mail
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=LpSolit a=myk
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index b4b0c9dfe..a0c11ef20 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -59,9 +59,6 @@ if ($2) {
$sitespec = "-$2$sitespec"; # Put the port number back in, before the '@'
}
-# disable email flag for offline debugging work
-my $enableSendMail = 1;
-
my %force;
my %seen;
@@ -886,7 +883,7 @@ sub NewProcessOnePerson ($$$$$$$$$$$$$) {
sub MessageToMTA ($) {
my ($msg) = (@_);
- return unless $enableSendMail;
+ return unless Param('enable_mail_sending');
my @args;
if (Param("maildeliverymethod") eq "sendmail" && !Param("sendmailnow")) {