From d74d76b0730621b09571775902899d7030ca3150 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 5 Apr 2010 16:26:09 -0700 Subject: Bug 556429: Stop sending bugmail from inside the template r=LpSolit, a=LpSolit --- Bugzilla/Template.pm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 639088984..88bfc1f2d 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -739,13 +739,6 @@ sub create { # started the session. 'sudoer' => sub { return Bugzilla->sudoer; }, - # SendBugMail - sends mail about a bug, using Bugzilla::BugMail.pm - 'SendBugMail' => sub { - my ($id, $mailrecipients) = (@_); - require Bugzilla::BugMail; - Bugzilla::BugMail::Send($id, $mailrecipients); - }, - # Allow templates to access the "corect" URLBase value 'urlbase' => sub { return Bugzilla::Util::correct_urlbase(); }, -- cgit v1.2.3-24-g4f1b