Differential D20482 Diff 48858 src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
Show First 20 Lines • Show All 971 Lines • ▼ Show 20 Lines | abstract class PhabricatorApplicationTransactionEditor | ||||
public function getCancelURI() { | public function getCancelURI() { | ||||
return $this->cancelURI; | return $this->cancelURI; | ||||
} | } | ||||
final public function applyTransactions( | final public function applyTransactions( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
$is_new = ($object->getPHID() === null); | $is_new = ($object->getID() === null); | ||||
$this->isNewObject = $is_new; | $this->isNewObject = $is_new; | ||||
$is_preview = $this->getIsPreview(); | $is_preview = $this->getIsPreview(); | ||||
$read_locking = false; | $read_locking = false; | ||||
$transaction_open = false; | $transaction_open = false; | ||||
// If we're attempting to apply transactions, lock and reload the object | // If we're attempting to apply transactions, lock and reload the object | ||||
// before we go anywhere. If we don't do this at the very beginning, we | // before we go anywhere. If we don't do this at the very beginning, we | ||||
▲ Show 20 Lines • Show All 4,275 Lines • Show Last 20 Lines |