From ada4f65565a0a923872206d27822e198f1a9bb00 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 27 Feb 2018 14:49:23 -0800 Subject: [PATCH] Stop sending Phriction edit mail to the previous/current content author Summary: See . After the "send users email when they are removed from the reviewer list" change which includes old To/Cc on the list, Phriction now emails the previous editor. This is weird and unintended. The behavior isn't necessarily always bad, but if it's sometimes desirable we should make it explicit. For now, just get rid of the weird side effect. Test Plan: Edited a Phriction page. Differential Revision: https://secure.phabricator.com/D19147 --- src/applications/phriction/editor/PhrictionTransactionEditor.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/applications/phriction/editor/PhrictionTransactionEditor.php b/src/applications/phriction/editor/PhrictionTransactionEditor.php index 793c609517..e6bf46c150 100644 --- a/src/applications/phriction/editor/PhrictionTransactionEditor.php +++ b/src/applications/phriction/editor/PhrictionTransactionEditor.php @@ -273,7 +273,6 @@ final class PhrictionTransactionEditor protected function getMailTo(PhabricatorLiskDAO $object) { return array( - $object->getContent()->getAuthorPHID(), $this->getActingAsPHID(), ); }