From 13e83a04ab2cff689d763b8a2af68e4ad0a035e7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 21 Jan 2008 07:42:17 +0000 Subject: [PATCH] Use $wgPasswordSender instead of $wgEmergencyContact --- includes/SpecialEmailuser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.20.1