Move function to the class that 'owns' it
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 11 Jan 2022 11:50:11 +0000 (00:50 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 11 Jan 2022 18:45:23 +0000 (07:45 +1300)
commit5484728757de4c85d44305a92bfa2aa35351fbce
tree0f51e1ed8575f35f4a1027bd466d4ad4a7b300c8
parent84f3dc304814cb5f8f386a20c25b294b40abf514
Move function to the class that 'owns' it

Following https://github.com/civicrm/civicrm-core/commit/f54e87d9cf1e216036adf92f744cdbac3c1fe79e#diff-5864d6a1d03dffb7699b930837c1c222b41fba16dad7d0a5f73b4923ac53dd42R198
neither of these functions are called from outside their class (I did a universe search)
so making them private (& in one case moving off the parent) means a universe seach won't be needed
next time
CRM/Contact/Import/Parser.php
CRM/Contact/Import/Parser/Contact.php
CRM/Custom/Import/Parser/Api.php