mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-24 13:44:40 +00:00
46b3024b4a
In future it may be necessary to break them down an extra level. Change-Id: I65e5a285e7d5797636e118c5e3e78b94df9af3d4
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 );
|
|
}
|
|
} |