From 2acc3291f99048537688471ef04486b1a76a7b55 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 6 Nov 2010 00:14:45 +0000 Subject: [PATCH] Add require for UserMailer.php, which defines the backwards compatibility userMailer() function. --- includes/job/EmaillingJob.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/job/EmaillingJob.php b/includes/job/EmaillingJob.php index 2c3159b11a..793a229b7f 100644 --- a/includes/job/EmaillingJob.php +++ b/includes/job/EmaillingJob.php @@ -12,8 +12,9 @@ * * @ingroup JobQueue */ -class EmaillingJob extends Job { +require_once dirname( __FILE__ ) . '/../UserMailer.php'; +class EmaillingJob extends Job { function __construct( $title, $params, $id = 0 ) { parent::__construct( 'sendMail', Title::newMainPage(), $params, $id ); } -- 2.20.1