Differential D15917 Diff 38333 src/applications/differential/herald/DifferentialReviewersAddReviewersHeraldAction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/herald/DifferentialReviewersAddReviewersHeraldAction.php
Show All 16 Lines | public function applyEffect($object, HeraldEffect $effect) { | ||||
return $this->applyReviewers($effect->getTarget(), $is_blocking = false); | return $this->applyReviewers($effect->getTarget(), $is_blocking = false); | ||||
} | } | ||||
public function getHeraldActionStandardType() { | public function getHeraldActionStandardType() { | ||||
return self::STANDARD_PHID_LIST; | return self::STANDARD_PHID_LIST; | ||||
} | } | ||||
protected function getDatasource() { | protected function getDatasource() { | ||||
return new PhabricatorMetaMTAMailableDatasource(); | return new DiffusionAuditorDatasource(); | ||||
} | } | ||||
public function renderActionDescription($value) { | public function renderActionDescription($value) { | ||||
return pht('Add reviewers: %s.', $this->renderHandleList($value)); | return pht('Add reviewers: %s.', $this->renderHandleList($value)); | ||||
} | } | ||||
} | } |