From c62518c3fdaf04fbab67a1e3ad643bb9c54f43cf Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Mar 2005 04:51:24 +0000 Subject: Bug 178370 : global param for whether or not to send mail Patch by Shane H. W. Travis r=LpSolit a=myk --- Bugzilla/BugMail.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Bugzilla/BugMail.pm') 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")) { -- cgit v1.2.3-24-g4f1b