Fix duplicate instance of Spreadsheet import class
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Dec 2023 20:23:09 +0000 (09:23 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Dec 2023 22:08:59 +0000 (11:08 +1300)
commitbacd62e260e22e298ed8140573146f7ec62aafa7
tree31c3743b097f3fce4d965be818c7e7a924a0a641
parent921a27272ce7c78f4191d23fe8cdeca06a5446a2
Fix duplicate instance of Spreadsheet import class

When I revisited this code & prepared for PR I thought I had lost the Spreadsheet class,
not realising I put it in the civiimport - this consolidates the 2 versions into
the extension.

Note that I am on the fence on whether this should be in the extension
or with the others, reflected in the fact I put it in 2 different places on
2 different occasions. I got some support for the extension on chat
so consolidated there
https://chat.civicrm.org/civicrm/pl/xfp4cytepir7jk7axis7aftqye
CRM/Import/DataSource.php
CRM/Import/DataSource/Spreadsheet.php [deleted file]
Civi/Import/DataSource/DataSourceInterface.php
ext/civiimport/Civi/Import/DataSource/Spreadsheet.php
templates/CRM/Contact/Import/Form/Spreadsheet.tpl [deleted file]