From eedbd699a1aa0f44e7dda37b4d524902a864b783 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 21 Oct 2006 04:22:54 +0000 Subject: Bug 135812: Add a 'mailfrom' parameter to unify bugmail originating address - Patch by Cedric Caron r=LpSolit a=myk --- whine.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'whine.pl') diff --git a/whine.pl b/whine.pl index 12b03fb62..0cfee8eab 100755 --- a/whine.pl +++ b/whine.pl @@ -93,13 +93,13 @@ my $sth_schedules_by_event = $dbh->prepare( # After that, it looks over each user to see if they have schedules that need # running, then runs those and generates the email messages. -# Send whines from the address in the 'maintainer' Parameter so that all +# Send whines from the address in the 'mailfrom' Parameter so that all # Bugzilla-originated mail appears to come from a single address. -my $fromaddress = Bugzilla->params->{'maintainer'}; +my $fromaddress = Bugzilla->params->{'mailfrom'}; if ($fromaddress !~ Bugzilla->params->{'emailregexp'}) { die "Cannot run. " . - "The maintainer email address has not been properly set!\n"; + "The Bugzilla email address has not been properly set!\n"; } # get the current date and time -- cgit v1.2.3-24-g4f1b