Changeset View
Changeset View
Standalone View
Standalone View
src/applications/audit/editor/PhabricatorAuditEditor.php
Show First 20 Lines • Show All 431 Lines • ▼ Show 20 Lines | final class PhabricatorAuditEditor | ||||
protected function buildReplyHandler(PhabricatorLiskDAO $object) { | protected function buildReplyHandler(PhabricatorLiskDAO $object) { | ||||
$reply_handler = new PhabricatorAuditReplyHandler(); | $reply_handler = new PhabricatorAuditReplyHandler(); | ||||
$reply_handler->setMailReceiver($object); | $reply_handler->setMailReceiver($object); | ||||
return $reply_handler; | return $reply_handler; | ||||
} | } | ||||
protected function getMailSubjectPrefix() { | protected function getMailSubjectPrefix() { | ||||
return PhabricatorEnv::getEnvConfig('metamta.diffusion.subject-prefix'); | return pht('[Diffusion]'); | ||||
} | } | ||||
protected function getMailThreadID(PhabricatorLiskDAO $object) { | protected function getMailThreadID(PhabricatorLiskDAO $object) { | ||||
// For backward compatibility, use this legacy thread ID. | // For backward compatibility, use this legacy thread ID. | ||||
return 'diffusion-audit-'.$object->getPHID(); | return 'diffusion-audit-'.$object->getPHID(); | ||||
} | } | ||||
protected function buildMailTemplate(PhabricatorLiskDAO $object) { | protected function buildMailTemplate(PhabricatorLiskDAO $object) { | ||||
▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines |