From e84e6c62b8d031dd69ba5a81c21a74736ebfe844 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 6 Nov 2010 16:22:18 +0000 Subject: [PATCH] Revert r76174 and call directly UserMailer::send() --- includes/job/EmaillingJob.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/job/EmaillingJob.php b/includes/job/EmaillingJob.php index 793a229b7f..89b74a4147 100644 --- a/includes/job/EmaillingJob.php +++ b/includes/job/EmaillingJob.php @@ -12,15 +12,13 @@ * * @ingroup JobQueue */ -require_once dirname( __FILE__ ) . '/../UserMailer.php'; - class EmaillingJob extends Job { function __construct( $title, $params, $id = 0 ) { parent::__construct( 'sendMail', Title::newMainPage(), $params, $id ); } function run() { - userMailer( + UserMailer::send( $this->params['to'], $this->params['from'], $this->params['subj'], -- 2.20.1