Remove handling for impossible array
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jan 2022 00:11:24 +0000 (13:11 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jan 2022 00:11:24 +0000 (13:11 +1300)
commit8489e9e09a39d22ac7e8404a0bca8719f0dfed1f
treeced6407ef76122ea0b96a2ef2e6c5f2dd5b1fcce
parentd2949c62b5bb269f3a27b6cb4902ddec20944ca3
Remove handling for impossible array

CRM_Financial_BAO_FinancialType::buildPermissionedClause is only called from one place
outside of tests. That place passes in this->_whereClause which is the result of calling
this->whereClause() a few lines earlier. As that function always returns a string
we know that it cannot be an array & can remove the handling
CRM/Contact/BAO/Query.php
CRM/Financial/BAO/FinancialType.php