public function getBodyForMail() { switch ($this->getTransactionType()) { case self::TYPE_INLINE: // Don't render inlines into the mail body; they render into a special // section immediately after the body instead. return null; } return parent::getBodyForMail(); }
public function getBodyForMail() { switch ($this->getTransactionType()) { case self::TYPE_COMMIT: $data = $this->getNewValue(); return $data['description']; } return parent::getBodyForMail(); }
public function getBodyForMail() { switch ($this->getTransactionType()) { case PhabricatorAuditActionConstants::INLINE: return null; } return parent::getBodyForMail(); }