Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/query/PhortunePurchaseQuery.php
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | protected function buildWhereClause(AphrontDatabaseConnection $conn) { | ||||
if ($this->cartPHIDs !== null) { | if ($this->cartPHIDs !== null) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'purchase.cartPHID IN (%Ls)', | 'purchase.cartPHID IN (%Ls)', | ||||
$this->cartPHIDs); | $this->cartPHIDs); | ||||
} | } | ||||
return $this->formatWhereClause($where); | return $this->formatWhereClause($conn, $where); | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorPhortuneApplication'; | return 'PhabricatorPhortuneApplication'; | ||||
} | } | ||||
} | } |