Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/query/PhortuneAccountQuery.php
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | protected function buildWhereClause(AphrontDatabaseConnection $conn) { | ||||
if ($this->memberPHIDs) { | if ($this->memberPHIDs) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'm.dst IN (%Ls)', | 'm.dst IN (%Ls)', | ||||
$this->memberPHIDs); | $this->memberPHIDs); | ||||
} | } | ||||
return $this->formatWhereClause($where); | return $this->formatWhereClause($conn, $where); | ||||
} | } | ||||
protected function buildJoinClause(AphrontDatabaseConnection $conn) { | protected function buildJoinClause(AphrontDatabaseConnection $conn) { | ||||
$joins = array(); | $joins = array(); | ||||
if ($this->memberPHIDs) { | if ($this->memberPHIDs) { | ||||
$joins[] = qsprintf( | $joins[] = qsprintf( | ||||
$conn, | $conn, | ||||
Show All 13 Lines |