(bug 22617), FileRepo::append() definition does not match child, change it to be...
[lhc/web/wiklou.git] / includes / EmaillingJob.php
1 <?php
2
3 /**
4 * Old job used for sending single notification emails;
5 * kept for backwards-compatibility
6 *
7 * @ingroup JobQueue
8 */
9 class EmaillingJob extends Job {
10
11 function __construct( $title, $params, $id = 0 ) {
12 parent::__construct( 'sendMail', Title::newMainPage(), $params, $id );
13 }
14
15 function run() {
16 userMailer(
17 $this->params['to'],
18 $this->params['from'],
19 $this->params['subj'],
20 $this->params['body'],
21 $this->params['replyto']
22 );
23 return true;
24 }
25
26 }