From b1f4cf8bdc4b49c02ebebbee2553202bc46ab720 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 4 Jul 2006 04:26:20 +0000 Subject: Bug 342869: Use Bugzilla->params everywhere except templates Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- whine.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'whine.pl') diff --git a/whine.pl b/whine.pl index 727e66af4..093b6e5e6 100755 --- a/whine.pl +++ b/whine.pl @@ -96,9 +96,9 @@ my $sth_schedules_by_event = $dbh->prepare( # Send whines from the address in the 'maintainer' Parameter so that all # Bugzilla-originated mail appears to come from a single address. -my $fromaddress = Param('maintainer'); +my $fromaddress = Bugzilla->params->{'maintainer'}; -if ($fromaddress !~ Param('emailregexp')) { +if ($fromaddress !~ Bugzilla->params->{'emailregexp'}) { die "Cannot run. " . "The maintainer email address has not been properly set!\n"; } -- cgit v1.2.3-24-g4f1b