mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-25 06:03:58 +00:00
12 lines
277 B
PHP
12 lines
277 B
PHP
|
<?php
|
||
|
|
||
|
class EchoNotificationJob extends Job {
|
||
|
function __construct( $title, $params ) {
|
||
|
parent::__construct( 'EchoNotificationJob', $title, $params );
|
||
|
$this->event = $params['event'];
|
||
|
}
|
||
|
|
||
|
function run() {
|
||
|
EchoNotificationController::notify( $this->event, false );
|
||
|
}
|
||
|
}
|