r76197 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76196‎ | r76197 | r76198 >
Date:16:22, 6 November 2010
Author:ialex
Status:ok
Tags:
Comment:
Revert r76174 and call directly UserMailer::send()
Modified paths:
  • /trunk/phase3/includes/job/EmaillingJob.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/job/EmaillingJob.php
@@ -12,15 +12,13 @@
1313 *
1414 * @ingroup JobQueue
1515 */
16 -require_once dirname( __FILE__ ) . '/../UserMailer.php';
17 -
1816 class EmaillingJob extends Job {
1917 function __construct( $title, $params, $id = 0 ) {
2018 parent::__construct( 'sendMail', Title::newMainPage(), $params, $id );
2119 }
2220
2321 function run() {
24 - userMailer(
 22+ UserMailer::send(
2523 $this->params['to'],
2624 $this->params['from'],
2725 $this->params['subj'],

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76174Add require for UserMailer.php, which defines the backwards compatibility use...platonides00:14, 6 November 2010

Status & tagging log