From 508d86aab6cffa6660c4d3a61b1f2db005906452 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 15 Nov 2016 09:00:17 -0800 Subject: [PATCH] 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 --- src/applications/phurl/editor/PhabricatorPhurlURLEditor.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php b/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php index 9fe55bcbeb..2b6290851b 100644 --- a/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php +++ b/src/applications/phurl/editor/PhabricatorPhurlURLEditor.php @@ -205,11 +205,7 @@ final class PhabricatorPhurlURLEditor protected function getMailTo(PhabricatorLiskDAO $object) { $phids = array(); - if ($object->getPHID()) { - $phids[] = $object->getPHID(); - } $phids[] = $this->getActingAsPHID(); - $phids = array_unique($phids); return $phids; }