From 3c8c0f6467b4a9e333e3cd85d60d056162f741ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Wed, 11 Aug 2010 11:45:23 +0200 Subject: [PATCH] Revert "Might fix notification mail on name change.": Not a fix. This reverts commit 0aaf1f0671cb0ce8cafac6b1634290323ed4c9b4. --- include/validations.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/validations.inc.php b/include/validations.inc.php index 79532e2..dcc4b63 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -529,9 +529,9 @@ abstract class ProfileValidate extends Validate $mailer = new PlMailer(); $mailer->setSubject($this->_mail_subj()); $mailer->setFrom("validation+{$this->type}@{$globals->mail->domain}"); - $mailer->addTo("\"{$this->profile->fullName()}\" <{$this->profileOwner->forlifeEmail()}>"); + $mailer->addTo("\"{$this->profile->fullName()}\" <{$this->profileOwner->bestEmail()}>"); if (!$this->userIsProfileOwner) { - $mailer->addCc("\"{$this->user->fullName()}\" <{$this->user->forlifeEmail()}>"); + $mailer->addCc("\"{$this->user->fullName()}\" <{$this->user->bestEmail()}>"); } $mailer->addCc("validation+{$this->type}@{$globals->mail->domain}"); -- 2.1.4