r99967 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99966‎ | r99967 | r99968 >
Date:19:52, 16 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Remove duplicate setting of From
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -193,7 +193,6 @@
194194
195195 $headers['Message-ID'] = self::makeMsgId();
196196 $headers['X-Mailer'] = 'MediaWiki mailer';
197 - $headers['From'] = $from->toString();
198197
199198 $ret = wfRunHooks( 'AlternateUserMailer', array( $headers, $to, $from, $subject, $body ) );
200199 if ( $ret === false ) {

Status & tagging log