diff --git a/src/applications/transactions/storage/PhabricatorModularTransaction.php b/src/applications/transactions/storage/PhabricatorModularTransaction.php index 35defeddaa..8ea6248563 100644 --- a/src/applications/transactions/storage/PhabricatorModularTransaction.php +++ b/src/applications/transactions/storage/PhabricatorModularTransaction.php @@ -98,6 +98,15 @@ abstract class PhabricatorModularTransaction return parent::getTitle(); } + public function getTitleForMail() { + $old_target = $this->getRenderingTarget(); + $new_target = self::TARGET_TEXT; + $this->setRenderingTarget($new_target); + $title = $this->getTitle(); + $this->setRenderingTarget($old_target); + return $title; + } + final public function getTitleForFeed() { $title = $this->getTransactionImplementation()->getTitleForFeed(); if ($title !== null) {