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