mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix a qsprintf() issue in mail queries
Summary: Ref T920. Bumped into this while looking at SMS support. Test Plan: Loaded `/mail/`, no more `qsprintf()` warning. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T920 Differential Revision: https://secure.phabricator.com/D19936
This commit is contained in:
parent
106e90dcf0
commit
ea8be11add
1 changed files with 3 additions and 3 deletions
|
@ -99,8 +99,8 @@ final class PhabricatorMetaMTAMailQuery
|
|||
return $where;
|
||||
}
|
||||
|
||||
protected function buildJoinClause(AphrontDatabaseConnection $conn) {
|
||||
$joins = array();
|
||||
protected function buildJoinClauseParts(AphrontDatabaseConnection $conn) {
|
||||
$joins = parent::buildJoinClauseParts($conn);
|
||||
|
||||
if ($this->actorPHIDs === null && $this->recipientPHIDs === null) {
|
||||
$joins[] = qsprintf(
|
||||
|
@ -119,7 +119,7 @@ final class PhabricatorMetaMTAMailQuery
|
|||
PhabricatorMetaMTAMailHasRecipientEdgeType::EDGECONST);
|
||||
}
|
||||
|
||||
return implode(' ', $joins);
|
||||
return $joins;
|
||||
}
|
||||
|
||||
protected function getPrimaryTableAlias() {
|
||||
|
|
Loading…
Reference in a new issue