From 950eeef4c09d30f317d0a554d69835679c31ebea Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 2 Aug 2014 01:12:53 -0700 Subject: [PATCH] Minor, restore Audit newReplyHandlerForCommit method Summary: This still has a callsite which I missed. Auditors: btrahan --- .../audit/editor/PhabricatorAuditCommentEditor.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php index d658a5a6df..60b8a7f878 100644 --- a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php @@ -284,4 +284,11 @@ final class PhabricatorAuditCommentEditor extends PhabricatorEditor { return array_keys($phids); } + public static function newReplyHandlerForCommit($commit) { + $reply_handler = PhabricatorEnv::newObjectFromConfig( + 'metamta.diffusion.reply-handler'); + $reply_handler->setMailReceiver($commit); + return $reply_handler; + } + }