blob: 70d1de694b5ea80aa6fe040e1909ed7cfffe5e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
/**
* Job for email notification mails
*/
class EnotifNotifyJob extends Job {
function __construct( $title, $params, $id = 0 ) {
parent::__construct( 'enotifNotify', $title, $params, $id );
}
function run() {
$enotif = new EmailNotification();
$enotif->actuallyNotifyOnPageChange(
User::newFromName( $this->params['editor'], false ),
$this->title,
$this->params['timestamp'],
$this->params['summary'],
$this->params['minorEdit'],
$this->params['oldid']
);
return true;
}
}
|