Differential D19031 Diff 45634 src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Show First 20 Lines • Show All 3,248 Lines • ▼ Show 20 Lines | /* -( Herald Integration )-------------------------------------------------- */ | ||||
private function applyHeraldRules( | private function applyHeraldRules( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
$adapter = $this->buildHeraldAdapter($object, $xactions) | $adapter = $this->buildHeraldAdapter($object, $xactions) | ||||
->setContentSource($this->getContentSource()) | ->setContentSource($this->getContentSource()) | ||||
->setIsNewObject($this->getIsNewObject()) | ->setIsNewObject($this->getIsNewObject()) | ||||
->setActingAsPHID($this->getActingAsPHID()) | |||||
->setAppliedTransactions($xactions); | ->setAppliedTransactions($xactions); | ||||
if ($this->getApplicationEmail()) { | if ($this->getApplicationEmail()) { | ||||
$adapter->setApplicationEmail($this->getApplicationEmail()); | $adapter->setApplicationEmail($this->getApplicationEmail()); | ||||
} | } | ||||
// If this editor is operating in silent mode, tell Herald that we aren't | // If this editor is operating in silent mode, tell Herald that we aren't | ||||
// going to send any mail. This allows it to skip "the first time this | // going to send any mail. This allows it to skip "the first time this | ||||
▲ Show 20 Lines • Show All 950 Lines • Show Last 20 Lines |