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
This commit is contained in:
committed by
epriestley
parent
ace8ac83ef
commit
c5692bb9bf
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user