Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
Show First 20 Lines • Show All 589 Lines • ▼ Show 20 Lines | if ($this->repositoryAPI) { | ||||
$workflow->setRepositoryAPI($this->repositoryAPI); | $workflow->setRepositoryAPI($this->repositoryAPI); | ||||
} | } | ||||
if ($this->userPHID) { | if ($this->userPHID) { | ||||
$workflow->userPHID = $this->getUserPHID(); | $workflow->userPHID = $this->getUserPHID(); | ||||
$workflow->userName = $this->getUserName(); | $workflow->userName = $this->getUserName(); | ||||
} | } | ||||
if ($this->conduit) { | if ($this->conduit && !$workflow->conduit) { | ||||
$workflow->conduit = $this->conduit; | $workflow->conduit = $this->conduit; | ||||
$workflow->setConduitCredentials($this->conduitCredentials); | $workflow->setConduitCredentials($this->conduitCredentials); | ||||
$workflow->conduitAuthenticated = $this->conduitAuthenticated; | $workflow->conduitAuthenticated = $this->conduitAuthenticated; | ||||
} | } | ||||
if ($this->workingCopy) { | if ($this->workingCopy) { | ||||
$workflow->setWorkingCopy($this->workingCopy); | $workflow->setWorkingCopy($this->workingCopy); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,403 Lines • Show Last 20 Lines |