From e20a1253a920a8b2f738e5c03b941e26ebb101f4 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 17 Feb 2023 15:09:27 +1300 Subject: [PATCH] Remove unused constants left over from import cleanup --- CRM/Activity/Import/Form/DataSource.php | 4 ---- CRM/Contribute/Import/Form/DataSource.php | 4 ---- CRM/Custom/Import/Form/DataSource.php | 4 ---- CRM/Event/Import/Form/DataSource.php | 4 ---- CRM/Member/Import/Form/DataSource.php | 4 ---- 5 files changed, 20 deletions(-) diff --git a/CRM/Activity/Import/Form/DataSource.php b/CRM/Activity/Import/Form/DataSource.php index 83d11962f6..cc27fcd6e9 100644 --- a/CRM/Activity/Import/Form/DataSource.php +++ b/CRM/Activity/Import/Form/DataSource.php @@ -20,10 +20,6 @@ */ class CRM_Activity_Import_Form_DataSource extends CRM_Import_Form_DataSource { - const PATH = 'civicrm/import/activity'; - - const IMPORT_ENTITY = 'Activity'; - /** * Get the name of the type to be stored in civicrm_user_job.type_id. * diff --git a/CRM/Contribute/Import/Form/DataSource.php b/CRM/Contribute/Import/Form/DataSource.php index c161cc6529..41d9e8e80e 100644 --- a/CRM/Contribute/Import/Form/DataSource.php +++ b/CRM/Contribute/Import/Form/DataSource.php @@ -20,10 +20,6 @@ */ class CRM_Contribute_Import_Form_DataSource extends CRM_Import_Form_DataSource { - const PATH = 'civicrm/contribute/import'; - - const IMPORT_ENTITY = 'Contribution'; - /** * Get the name of the type to be stored in civicrm_user_job.type_id. * diff --git a/CRM/Custom/Import/Form/DataSource.php b/CRM/Custom/Import/Form/DataSource.php index 4f780de882..90f5174e42 100644 --- a/CRM/Custom/Import/Form/DataSource.php +++ b/CRM/Custom/Import/Form/DataSource.php @@ -22,10 +22,6 @@ use Civi\Api4\CustomGroup; */ class CRM_Custom_Import_Form_DataSource extends CRM_Import_Form_DataSource { - const PATH = 'civicrm/import/custom'; - - const IMPORT_ENTITY = 'Multi value custom data'; - /** * Get the name of the type to be stored in civicrm_user_job.type_id. * diff --git a/CRM/Event/Import/Form/DataSource.php b/CRM/Event/Import/Form/DataSource.php index 4817f05400..e187c522b5 100644 --- a/CRM/Event/Import/Form/DataSource.php +++ b/CRM/Event/Import/Form/DataSource.php @@ -20,10 +20,6 @@ */ class CRM_Event_Import_Form_DataSource extends CRM_Import_Form_DataSource { - const PATH = 'civicrm/event/import'; - - const IMPORT_ENTITY = 'Participant'; - /** * Get the name of the type to be stored in civicrm_user_job.type_id. * diff --git a/CRM/Member/Import/Form/DataSource.php b/CRM/Member/Import/Form/DataSource.php index d8a7da6d5a..cd35e7cf6d 100644 --- a/CRM/Member/Import/Form/DataSource.php +++ b/CRM/Member/Import/Form/DataSource.php @@ -20,10 +20,6 @@ */ class CRM_Member_Import_Form_DataSource extends CRM_Import_Form_DataSource { - const PATH = 'civicrm/member/import'; - - const IMPORT_ENTITY = 'Membership'; - /** * Get the name of the type to be stored in civicrm_user_job.type_id. * -- 2.25.1