From: Brion Vibber Date: Mon, 21 Jan 2008 07:42:17 +0000 (+0000) Subject: Use $wgPasswordSender instead of $wgEmergencyContact X-Git-Tag: 1.31.0-rc.0~49870 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=13e83a04ab2cff689d763b8a2af68e4ad0a035e7;p=lhc%2Fweb%2Fwiklou.git Use $wgPasswordSender instead of $wgEmergencyContact --- diff --git a/includes/SpecialEmailuser.php b/includes/SpecialEmailuser.php index e965cf51ea..35b37a52be 100644 --- a/includes/SpecialEmailuser.php +++ b/includes/SpecialEmailuser.php @@ -158,8 +158,8 @@ class EmailUserForm { // This is a bit ugly, but will serve to differentiate // wiki-borne mails from direct mails and protects against // SPF and bounce problems with some mailers (see below). - global $wgEmergencyContact; - $mailFrom = new MailAddress( $wgEmergencyContact ); + global $wgPasswordSender; + $mailFrom = new MailAddress( $wgPasswordSender ); $replyTo = $from; } else { // Put the sending user's e-mail address in the From: header.