Force string to UTF-8 if we have mb stuff available.
[lhc/web/wiklou.git] / includes / EnotifNotifyJob.php
1 <?php
2
3 /**
4 * Job for email notification mails
5 */
6 class EnotifNotifyJob extends Job {
7
8 function __construct( $title, $params, $id = 0 ) {
9 parent::__construct( 'enotifNotify', $title, $params, $id );
10 }
11
12 function run() {
13 $enotif = new EmailNotification();
14 $enotif->actuallyNotifyOnPageChange(
15 User::newFromName( $this->params['editor'], false ),
16 $this->title,
17 $this->params['timestamp'],
18 $this->params['summary'],
19 $this->params['minorEdit'],
20 $this->params['oldid']
21 );
22 return true;
23 }
24
25 }
26