Differential D14670 Diff 35493 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 1,363 Lines • ▼ Show 20 Lines | protected function mergeTransactions( | ||||
return null; | return null; | ||||
} | } | ||||
/** | /** | ||||
* Optionally expand transactions which imply other effects. For example, | * Optionally expand transactions which imply other effects. For example, | ||||
* resigning from a revision in Differential implies removing yourself as | * resigning from a revision in Differential implies removing yourself as | ||||
* a reviewer. | * a reviewer. | ||||
*/ | */ | ||||
private function expandTransactions( | protected function expandTransactions( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
$results = array(); | $results = array(); | ||||
foreach ($xactions as $xaction) { | foreach ($xactions as $xaction) { | ||||
foreach ($this->expandTransaction($object, $xaction) as $expanded) { | foreach ($this->expandTransaction($object, $xaction) as $expanded) { | ||||
$results[] = $expanded; | $results[] = $expanded; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,944 Lines • Show Last 20 Lines |