summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-06-02 19:50:15 +0200
committerlpsolit%gmail.com <>2006-06-02 19:50:15 +0200
commit2b9f5bf80911872ca809061bd46d8fc7f64c2929 (patch)
tree29443975af530533739b1d7c442e8ebed5254430 /relogin.cgi
parent24a02ebf00c318c3406fc4c4f38a8f93480b0548 (diff)
downloadbugzilla-2b9f5bf80911872ca809061bd46d8fc7f64c2929.tar.gz
bugzilla-2b9f5bf80911872ca809061bd46d8fc7f64c2929.tar.xz
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;