Differential D17191 Diff 41341 src/applications/diffusion/xaction/DiffusionCommitConcernTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/xaction/DiffusionCommitConcernTransaction.php
| Show All 20 Lines | final class DiffusionCommitConcernTransaction | ||||
| public function getColor() { | public function getColor() { | ||||
| return 'red'; | return 'red'; | ||||
| } | } | ||||
| protected function getCommitActionOrder() { | protected function getCommitActionOrder() { | ||||
| return 600; | return 600; | ||||
| } | } | ||||
| public function getActionName() { | |||||
| return pht('Raised Concern'); | |||||
| } | |||||
| public function generateOldValue($object) { | public function generateOldValue($object) { | ||||
| $actor = $this->getActor(); | $actor = $this->getActor(); | ||||
| return $this->isViewerRejectingAuditor($object, $actor); | return $this->isViewerRejectingAuditor($object, $actor); | ||||
| } | } | ||||
| public function applyExternalEffects($object, $value) { | public function applyExternalEffects($object, $value) { | ||||
| $status = PhabricatorAuditStatusConstants::CONCERNED; | $status = PhabricatorAuditStatusConstants::CONCERNED; | ||||
| $actor = $this->getActor(); | $actor = $this->getActor(); | ||||
| Show All 34 Lines | |||||