From c5692bb9bfadfd70060b72f194c3597972b659ea Mon Sep 17 00:00:00 2001 From: Bryan Cuccioli Date: Mon, 6 May 2013 14:00:40 -0700 Subject: [PATCH] No longer send welcome mail from a real user. Summary: Remove lines that set from field. Test Plan: Check that emails are sent without from field. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, AnhNhan Differential Revision: https://secure.phabricator.com/D5845 --- src/applications/people/storage/PhabricatorUser.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/applications/people/storage/PhabricatorUser.php b/src/applications/people/storage/PhabricatorUser.php index 9845a110c1..c34f246859 100644 --- a/src/applications/people/storage/PhabricatorUser.php +++ b/src/applications/people/storage/PhabricatorUser.php @@ -590,7 +590,6 @@ EOBODY; ->addTos(array($this->getPHID())) ->setSubject('[Phabricator] Welcome to Phabricator') ->setBody($body) - ->setFrom($admin->getPHID()) ->saveAndSend(); } @@ -630,7 +629,6 @@ EOBODY; ->addTos(array($this->getPHID())) ->setSubject('[Phabricator] Username Changed') ->setBody($body) - ->setFrom($admin->getPHID()) ->saveAndSend(); }