summaryrefslogtreecommitdiffstats
path: root/whineatnews.pl
diff options
context:
space:
mode:
Diffstat (limited to 'whineatnews.pl')
-rwxr-xr-xwhineatnews.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/whineatnews.pl b/whineatnews.pl
index 62e6388ac..c3f0a7677 100755
--- a/whineatnews.pl
+++ b/whineatnews.pl
@@ -33,7 +33,7 @@ use lib '.';
require "globals.pl";
use Bugzilla;
-use Bugzilla::BugMail;
+use Bugzilla::Mailer;
use Bugzilla::Util;
# Whining is disabled if whinedays is zero
@@ -83,7 +83,7 @@ foreach my $email (sort (keys %bugs)) {
$msg .= " -> ${urlbase}show_bug.cgi?id=$i\n";
}
- Bugzilla::BugMail::MessageToMTA($msg);
+ MessageToMTA($msg);
print "$email " . join(" ", @{$bugs{$email}}) . "\n";
}