Differential D13115 Diff 31770 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 1,896 Lines • ▼ Show 20 Lines | private function renderPatchForMail(DifferentialDiff $diff) { | ||||
| $section = new PhabricatorMetaMTAMailSection(); | $section = new PhabricatorMetaMTAMailSection(); | ||||
| $section->addHTMLFragment($this->renderPatchHTMLForMail($patch)); | $section->addHTMLFragment($this->renderPatchHTMLForMail($patch)); | ||||
| $section->addPlaintextFragment($patch); | $section->addPlaintextFragment($patch); | ||||
| return $section; | return $section; | ||||
| } | } | ||||
| protected function getCustomWorkerState() { | |||||
| return array( | |||||
| 'changedPriorToCommitURI' => $this->changedPriorToCommitURI, | |||||
| ); | |||||
| } | |||||
| protected function loadCustomWorkerState(array $state) { | |||||
| $this->changedPriorToCommitURI = idx($state, 'changedPriorToCommitURI'); | |||||
| return $this; | |||||
| } | |||||
| } | } | ||||