Differential D19993 Diff 47731 src/applications/differential/editor/DifferentialTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/editor/DifferentialTransactionEditor.php
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | if ($show_lines) { | ||||
$count = new PhutilNumber($object->getLineCount()); | $count = new PhutilNumber($object->getLineCount()); | ||||
$action = pht('%s] [%s', $action, $object->getRevisionScaleGlyphs()); | $action = pht('%s] [%s', $action, $object->getRevisionScaleGlyphs()); | ||||
} | } | ||||
return $action; | return $action; | ||||
} | } | ||||
protected function getMailSubjectPrefix() { | protected function getMailSubjectPrefix() { | ||||
return PhabricatorEnv::getEnvConfig('metamta.differential.subject-prefix'); | return pht('[Differential]'); | ||||
} | } | ||||
protected function getMailThreadID(PhabricatorLiskDAO $object) { | protected function getMailThreadID(PhabricatorLiskDAO $object) { | ||||
// This is nonstandard, but retains threading with older messages. | // This is nonstandard, but retains threading with older messages. | ||||
$phid = $object->getPHID(); | $phid = $object->getPHID(); | ||||
return "differential-rev-{$phid}-req"; | return "differential-rev-{$phid}-req"; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,159 Lines • Show Last 20 Lines |