summaryrefslogtreecommitdiffstats
path: root/whineatnews.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-16 02:58:10 +0200
committerlpsolit%gmail.com <>2005-08-16 02:58:10 +0200
commit044848e67b4134b9429f880774c9c6cf577226cc (patch)
tree365261b53d20a19ed440fead50676ac7b421af0c /whineatnews.pl
parent746013729e6377357efb68de8d7f2fd93e25a07c (diff)
downloadbugzilla-044848e67b4134b9429f880774c9c6cf577226cc.tar.gz
bugzilla-044848e67b4134b9429f880774c9c6cf577226cc.tar.xz
Bug 304660: PerformSubsts() should be in Util.pm instead of BugMail.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'whineatnews.pl')
-rwxr-xr-xwhineatnews.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/whineatnews.pl b/whineatnews.pl
index ae2121303..50e06383e 100755
--- a/whineatnews.pl
+++ b/whineatnews.pl
@@ -33,6 +33,7 @@ use lib '.';
require "globals.pl";
use Bugzilla::BugMail;
+use Bugzilla::Util;
# Whining is disabled if whinedays is zero
exit unless Param('whinedays') >= 1;
@@ -71,7 +72,7 @@ foreach my $email (sort (keys %bugs)) {
my %substs;
$substs{'email'} = $email . $emailsuffix;
$substs{'userid'} = $email;
- my $msg = PerformSubsts($template, \%substs);
+ my $msg = perform_substs($template, \%substs);
foreach my $i (@{$bugs{$email}}) {
$msg .= " " . shift(@{$desc{$email}}) . "\n";