mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
Don't send Phurl mail to the URL object itself
Summary: Fixes T11868. This is silly and does not make sense. Test Plan: Edited a Phurl URL, verified mail only went to me, not to the object itself. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11868 Differential Revision: https://secure.phabricator.com/D16863
This commit is contained in:
parent
7097abbe57
commit
508d86aab6
1 changed files with 0 additions and 4 deletions
|
@ -205,11 +205,7 @@ final class PhabricatorPhurlURLEditor
|
||||||
protected function getMailTo(PhabricatorLiskDAO $object) {
|
protected function getMailTo(PhabricatorLiskDAO $object) {
|
||||||
$phids = array();
|
$phids = array();
|
||||||
|
|
||||||
if ($object->getPHID()) {
|
|
||||||
$phids[] = $object->getPHID();
|
|
||||||
}
|
|
||||||
$phids[] = $this->getActingAsPHID();
|
$phids[] = $this->getActingAsPHID();
|
||||||
$phids = array_unique($phids);
|
|
||||||
|
|
||||||
return $phids;
|
return $phids;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue