Differential D12453 Diff 29949 src/applications/repository/query/PhabricatorRepositoryArcanistProjectQuery.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/query/PhabricatorRepositoryArcanistProjectQuery.php
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | if ($this->needRepositories) { | ||||
$repo = idx($repositories, $project->getRepositoryID()); | $repo = idx($repositories, $project->getRepositoryID()); | ||||
$project->attachRepository($repo); | $project->attachRepository($repo); | ||||
} | } | ||||
} | } | ||||
return $projects; | return $projects; | ||||
} | } | ||||
private function buildWhereClause(AphrontDatabaseConnection $conn_r) { | protected function buildWhereClause(AphrontDatabaseConnection $conn_r) { | ||||
$where = array(); | $where = array(); | ||||
if ($this->ids) { | if ($this->ids) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn_r, | $conn_r, | ||||
'id IN (%Ld)', | 'id IN (%Ld)', | ||||
$this->ids); | $this->ids); | ||||
} | } | ||||
Show All 20 Lines |