Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialDiff.php
Show First 20 Lines • Show All 496 Lines • ▼ Show 20 Lines | if ($this->getRevisionID()) { | ||||
if ($revision) { | if ($revision) { | ||||
return $revision->getPHID(); | return $revision->getPHID(); | ||||
} | } | ||||
} | } | ||||
return null; | return null; | ||||
} | } | ||||
public function getHarbormasterPublishablePHID() { | |||||
return $this->getHarbormasterContainerPHID(); | |||||
} | |||||
public function getBuildVariables() { | public function getBuildVariables() { | ||||
$results = array(); | $results = array(); | ||||
$results['buildable.diff'] = $this->getID(); | $results['buildable.diff'] = $this->getID(); | ||||
if ($this->revisionID) { | if ($this->revisionID) { | ||||
$revision = $this->getRevision(); | $revision = $this->getRevision(); | ||||
$results['buildable.revision'] = $revision->getID(); | $results['buildable.revision'] = $revision->getID(); | ||||
$repo = $revision->getRepository(); | $repo = $revision->getRepository(); | ||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |