Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/query/PhabricatorFileQuery.php
Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | foreach ($files as $key => $file) { | ||||
$original = null; | $original = null; | ||||
} | } | ||||
$file->attachOriginalFile($original); | $file->attachOriginalFile($original); | ||||
} | } | ||||
return $files; | return $files; | ||||
} | } | ||||
private function buildJoinClause(AphrontDatabaseConnection $conn_r) { | protected function buildJoinClause(AphrontDatabaseConnection $conn_r) { | ||||
$joins = array(); | $joins = array(); | ||||
if ($this->transforms) { | if ($this->transforms) { | ||||
$joins[] = qsprintf( | $joins[] = qsprintf( | ||||
$conn_r, | $conn_r, | ||||
'JOIN %T t ON t.transformedPHID = f.phid', | 'JOIN %T t ON t.transformedPHID = f.phid', | ||||
id(new PhabricatorTransformedFile())->getTableName()); | id(new PhabricatorTransformedFile())->getTableName()); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |