Differential D17115 Diff 41172 src/applications/differential/xaction/DifferentialRevisionCommandeerTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionCommandeerTransaction.php
| Show All 16 Lines | final class DifferentialRevisionCommandeerTransaction | ||||
| public function getIcon() { | public function getIcon() { | ||||
| return 'fa-flag'; | return 'fa-flag'; | ||||
| } | } | ||||
| public function getColor() { | public function getColor() { | ||||
| return 'sky'; | return 'sky'; | ||||
| } | } | ||||
| protected function getRevisionActionOrder() { | |||||
| return 700; | |||||
| } | |||||
| public function generateOldValue($object) { | public function generateOldValue($object) { | ||||
| return $object->getAuthorPHID(); | return $object->getAuthorPHID(); | ||||
| } | } | ||||
| public function generateNewValue($object, $value) { | public function generateNewValue($object, $value) { | ||||
| $actor = $this->getActor(); | $actor = $this->getActor(); | ||||
| return $actor->getPHID(); | return $actor->getPHID(); | ||||
| } | } | ||||
| Show All 35 Lines | |||||