wiki.techinc.nl/includes/EmaillingJob.php
Siebrand Mazeland 79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00

24 lines
458 B
PHP

<?php
/**
* Old job used for sending single notification emails;
* kept for backwards-compatibility
*/
class EmaillingJob extends Job {
function __construct( $title, $params, $id = 0 ) {
parent::__construct( 'sendMail', Title::newMainPage(), $params, $id );
}
function run() {
userMailer(
$this->params['to'],
$this->params['from'],
$this->params['subj'],
$this->params['body'],
$this->params['replyto']
);
return true;
}
}