Differential D21137 Diff 50334 src/applications/differential/xaction/DifferentialRevisionUpdateTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionUpdateTransaction.php
| Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | $buildables = id(new HarbormasterBuildableQuery()) | ||||
| ->withBuildablePHIDs(array($diff->getPHID())) | ->withBuildablePHIDs(array($diff->getPHID())) | ||||
| ->execute(); | ->execute(); | ||||
| foreach ($buildables as $buildable) { | foreach ($buildables as $buildable) { | ||||
| $buildable->sendMessage( | $buildable->sendMessage( | ||||
| $this->getActor(), | $this->getActor(), | ||||
| HarbormasterMessageType::BUILDABLE_CONTAINER, | HarbormasterMessageType::BUILDABLE_CONTAINER, | ||||
| true); | true); | ||||
| } | } | ||||
| // See T13455. If users have set view properites on a diff and the diff | |||||
| // is then attached to a revision, attempt to copy their view preferences | |||||
| // to the revision. | |||||
| DifferentialViewState::copyViewStatesToObject( | |||||
| $diff->getPHID(), | |||||
| $object->getPHID()); | |||||
| } | } | ||||
| public function getColor() { | public function getColor() { | ||||
| return 'sky'; | return 'sky'; | ||||
| } | } | ||||
| public function getIcon() { | public function getIcon() { | ||||
| return 'fa-refresh'; | return 'fa-refresh'; | ||||
| ▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines | |||||