Differential D16111 Diff 38770 src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Show First 20 Lines • Show All 274 Lines • ▼ Show 20 Lines | /* -( Rendering )---------------------------------------------------------- */ | ||||
public function getRequiredHandlePHIDs() { | public function getRequiredHandlePHIDs() { | ||||
$phids = array(); | $phids = array(); | ||||
$old = $this->getOldValue(); | $old = $this->getOldValue(); | ||||
$new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
$phids[] = array($this->getAuthorPHID()); | $phids[] = array($this->getAuthorPHID()); | ||||
$phids[] = array($this->getObjectPHID()); | |||||
switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
case PhabricatorTransactions::TYPE_CUSTOMFIELD: | case PhabricatorTransactions::TYPE_CUSTOMFIELD: | ||||
$field = $this->getTransactionCustomField(); | $field = $this->getTransactionCustomField(); | ||||
if ($field) { | if ($field) { | ||||
$phids[] = $field->getApplicationTransactionRequiredHandlePHIDs( | $phids[] = $field->getApplicationTransactionRequiredHandlePHIDs( | ||||
$this); | $this); | ||||
} | } | ||||
break; | break; | ||||
▲ Show 20 Lines • Show All 1,346 Lines • Show Last 20 Lines |