Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/query/PhortuneCartQuery.php
Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | if ($this->invoices !== null) { | ||||
} else { | } else { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'cart.status != %s OR cart.isInvoice = 0', | 'cart.status != %s OR cart.isInvoice = 0', | ||||
PhortuneCart::STATUS_READY); | PhortuneCart::STATUS_READY); | ||||
} | } | ||||
} | } | ||||
return $this->formatWhereClause($where); | return $this->formatWhereClause($conn, $where); | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorPhortuneApplication'; | return 'PhabricatorPhortuneApplication'; | ||||
} | } | ||||
} | } |