]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/job/EmaillingJob.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / includes / job / EmaillingJob.php
diff --git a/includes/job/EmaillingJob.php b/includes/job/EmaillingJob.php
deleted file mode 100644 (file)
index 89b74a4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Old job for notification emails.
- *
- * @file
- * @ingroup JobQueue
- */
-
-/**
- * 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::send(
-                       $this->params['to'],
-                       $this->params['from'],
-                       $this->params['subj'],
-                       $this->params['body'],
-                       $this->params['replyto']
-               );
-               return true;
-       }
-
-}