Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/query/PhabricatorAuthInviteQuery.php
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | if ($this->emailAddresses !== null) { | ||||
$this->emailAddresses); | $this->emailAddresses); | ||||
} | } | ||||
if ($this->verificationCodes !== null) { | if ($this->verificationCodes !== null) { | ||||
$hashes = array(); | $hashes = array(); | ||||
foreach ($this->verificationCodes as $code) { | foreach ($this->verificationCodes as $code) { | ||||
$hashes[] = PhabricatorHash::digestForIndex($code); | $hashes[] = PhabricatorHash::digestForIndex($code); | ||||
} | } | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn_r, | $conn_r, | ||||
'verificationHash IN (%Ls)', | 'verificationHash IN (%Ls)', | ||||
$hashes); | $hashes); | ||||
} | } | ||||
if ($this->authorPHIDs !== null) { | if ($this->authorPHIDs !== null) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
Show All 15 Lines |