Differential D18771 Diff 45045 src/applications/differential/editor/DifferentialTransactionEditor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/editor/DifferentialTransactionEditor.php
| Show First 20 Lines • Show All 1,606 Lines • ▼ Show 20 Lines | if ($object->isDraft() && $auto_undraft) { | ||||
| ->setStatus(DifferentialRevisionStatus::NEEDS_REVIEW) | ->setStatus(DifferentialRevisionStatus::NEEDS_REVIEW) | ||||
| ->save(); | ->save(); | ||||
| $xaction->save(); | $xaction->save(); | ||||
| $object->saveTransaction(); | $object->saveTransaction(); | ||||
| $xactions[] = $xaction; | $xactions[] = $xaction; | ||||
| } | } | ||||
| } else { | |||||
| // If this revision is being created into some state other than "Draft", | |||||
| // this is the first broadcast and should include sections like "SUMMARY" | |||||
| // and "TEST PLAN". | |||||
| if ($this->getIsNewObject()) { | |||||
| $this->firstBroadcast = true; | |||||
| } | |||||
| } | } | ||||
| return $xactions; | return $xactions; | ||||
| } | } | ||||
| private function hasActiveBuilds($object) { | private function hasActiveBuilds($object) { | ||||
| $viewer = $this->requireActor(); | $viewer = $this->requireActor(); | ||||
| Show All 10 Lines | |||||