r30015 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30014‎ | r30015 | r30016 >
Date:07:42, 21 January 2008
Author:brion
Status:old
Tags:
Comment:
Use $wgPasswordSender instead of $wgEmergencyContact
Modified paths:
  • /trunk/phase3/includes/SpecialEmailuser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialEmailuser.php
@@ -158,8 +158,8 @@
159159 // This is a bit ugly, but will serve to differentiate
160160 // wiki-borne mails from direct mails and protects against
161161 // SPF and bounce problems with some mailers (see below).
162 - global $wgEmergencyContact;
163 - $mailFrom = new MailAddress( $wgEmergencyContact );
 162+ global $wgPasswordSender;
 163+ $mailFrom = new MailAddress( $wgPasswordSender );
164164 $replyTo = $from;
165165 } else {
166166 // Put the sending user's e-mail address in the From: header.

Status & tagging log