Import - Fix multi-record custom data import PHP errors
authorColeman Watts <coleman@civicrm.org>
Mon, 3 Jan 2022 21:53:29 +0000 (16:53 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 4 Jan 2022 02:51:26 +0000 (21:51 -0500)
commitf54e87d9cf1e216036adf92f744cdbac3c1fe79e
tree325c12984a404c08f8dacc80f0684dba01856cd2
parent1a08b036081a0ca52cb25ceca64a040fdf438d9d
Import - Fix multi-record custom data import PHP errors

Fixes fatal PHP error `Declaration of CRM_Custom_Import_Parser::run(...) should be compatible with CRM_Contact_Import_Parser::run(...)`
by switching to inherit the base class instead of the contact import class. This simplifies the code in general.
CRM/Custom/Import/Form/DataSource.php
CRM/Custom/Import/Parser.php
CRM/Custom/Import/Parser/Api.php
CRM/Import/Parser.php