summaryrefslogtreecommitdiff
path: root/includes/EmaillingJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/EmaillingJob.php')
-rw-r--r--includes/EmaillingJob.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/includes/EmaillingJob.php b/includes/EmaillingJob.php
deleted file mode 100644
index 380c8982..00000000
--- a/includes/EmaillingJob.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-/**
- * Old job used for sending single notification emails;
- * kept for backwards-compatibility
- *
- * @ingroup JobQueue
- */
-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;
- }
-
-}