summaryrefslogtreecommitdiffstats
path: root/whine.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-21 06:22:54 +0200
committerlpsolit%gmail.com <>2006-10-21 06:22:54 +0200
commiteedbd699a1aa0f44e7dda37b4d524902a864b783 (patch)
tree73665b04bd191ede2b3d6fc98ce1af48675704e3 /whine.pl
parentac3fe4074a3e583948bf2a1d0b81f8f3f6acce51 (diff)
downloadbugzilla-eedbd699a1aa0f44e7dda37b4d524902a864b783.tar.gz
bugzilla-eedbd699a1aa0f44e7dda37b4d524902a864b783.tar.xz
Bug 135812: Add a 'mailfrom' parameter to unify bugmail originating address - Patch by Cedric Caron <cedric.caron@citycable.ch> r=LpSolit a=myk
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl6
1 files changed, 3 insertions, 3 deletions
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