From: Platonides Date: Sat, 6 Nov 2010 00:14:45 +0000 (+0000) Subject: Add require for UserMailer.php, which defines the backwards compatibility userMailer... X-Git-Tag: 1.31.0-rc.0~34051 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=2acc3291f99048537688471ef04486b1a76a7b55;p=lhc%2Fweb%2Fwiklou.git Add require for UserMailer.php, which defines the backwards compatibility userMailer() function. --- 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 ); }