Changeset View
Changeset View
Standalone View
Standalone View
src/applications/tokens/editor/PhabricatorTokenGivenEditor.php
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | $xactions[] = id($object->getApplicationTransactionTemplate()) | ||||
->setNewValue($new_token_phid); | ->setNewValue($new_token_phid); | ||||
$editor = $object->getApplicationTransactionEditor() | $editor = $object->getApplicationTransactionEditor() | ||||
->setActor($actor) | ->setActor($actor) | ||||
->setContentSource($this->getContentSource()) | ->setContentSource($this->getContentSource()) | ||||
->setContinueOnNoEffect(true) | ->setContinueOnNoEffect(true) | ||||
->setContinueOnMissingFields(true); | ->setContinueOnMissingFields(true); | ||||
$editor->applyTransactions( | $editor->applyTransactions($object, $xactions); | ||||
$object->getApplicationTransactionObject(), | |||||
$xactions); | |||||
} | } | ||||
} | } |