*Tweak rev_deleted message
[mediawiki.git] / includes / EnotifNotifyJob.php
blob70d1de694b5ea80aa6fe040e1909ed7cfffe5e05
1 <?php
3 /**
4 * Job for email notification mails
5 */
6 class EnotifNotifyJob extends Job {
8 function __construct( $title, $params, $id = 0 ) {
9 parent::__construct( 'enotifNotify', $title, $params, $id );
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']
22 return true;