[REF] Import - make condition clearer
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 5 May 2022 22:48:28 +0000 (10:48 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 9 May 2022 10:28:35 +0000 (22:28 +1200)
commitd6e353391c4e9f9e65ffc50ebd02f52b73978036
treeeeb70592c3cde31ede05f4ca612f23a7741e2f42
parentb6c6efbbd333eac900374a0ae6ee94d7add2e0e8
[REF] Import - make condition clearer

The mapping of fields basically breaks down into 'has a relationship' - in which
case fieldName is empy and does not have a relationship - in which
case field name is not empy. This makes that explicit -
specifically referring to relatedContactKey rather than
relying on the person reading the code
understanding that the presence of fieldName implies
whether it is a relationship
CRM/Contact/Import/Parser/Contact.php