Squash 2 if clauses into 1
authoreileen <emcnaughton@wikimedia.org>
Sat, 12 Dec 2020 03:34:28 +0000 (16:34 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 12 Dec 2020 03:34:28 +0000 (16:34 +1300)
commit3d603a3ada560389524dddb3c6c7c7f538f31a44
treef5c337a98d8ea710cd0fb2ab8bfe196655d64795
parentdc4063dc0f274d0962a416f357283b96f565e4fa
Squash 2 if clauses into 1

The action is the same for both criteria so in_array rather than 2 * if =
makes it more readable
CRM/Contact/Import/Parser/Contact.php