r76174 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76173‎ | r76174 | r76175 >
Date:00:14, 6 November 2010
Author:platonides
Status:reverted
Tags:
Comment:
Add require for UserMailer.php, which defines the backwards compatibility userMailer() function.
Modified paths:
  • /trunk/phase3/includes/job/EmaillingJob.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/job/EmaillingJob.php
@@ -12,8 +12,9 @@
1313 *
1414 * @ingroup JobQueue
1515 */
 16+require_once dirname( __FILE__ ) . '/../UserMailer.php';
 17+
1618 class EmaillingJob extends Job {
17 -
1819 function __construct( $title, $params, $id = 0 ) {
1920 parent::__construct( 'sendMail', Title::newMainPage(), $params, $id );
2021 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r76197Revert r76174 and call directly UserMailer::send()ialex16:22, 6 November 2010

Status & tagging log