aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-02 17:50:15 +0000
committerlpsolit%gmail.com <>2006-06-02 17:50:15 +0000
commit2b9f5bf80911872ca809061bd46d8fc7f64c2929 (patch)
tree29443975af530533739b1d7c442e8ebed5254430 /relogin.cgi
parentBug 329377: Bugzilla::Object base class for objects (diff)
downloadbugzilla-2b9f5bf80911872ca809061bd46d8fc7f64c2929.tar.gz
bugzilla-2b9f5bf80911872ca809061bd46d8fc7f64c2929.tar.bz2
bugzilla-2b9f5bf80911872ca809061bd46d8fc7f64c2929.zip
Bug 339862: Move Bugzilla::BugMail::MessageToMTA() in a separate module - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/relogin.cgi b/relogin.cgi
index 0385b8e2f..418ed3555 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -28,7 +28,7 @@ use lib qw(.);
require "globals.pl";
use Bugzilla;
-use Bugzilla::BugMail;
+use Bugzilla::Mailer;
use Bugzilla::Constants;
use Bugzilla::Error;
use Bugzilla::Token;
@@ -163,7 +163,7 @@ elsif ($action eq 'begin-sudo') {
$template->process('email/sudo.txt.tmpl',
{ reason => $reason },
\$message);
- Bugzilla::BugMail::MessageToMTA($message);
+ MessageToMTA($message);
$vars->{'message'} = 'sudo_started';
$vars->{'target'} = $target_user->login;