From be7960af0c60f85fb0fdd092b3fccde6adce977f Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Tue, 7 Mar 2023 14:58:39 -0500 Subject: [PATCH] don't show USPS warning when USPS lookup disabled --- CRM/Contact/Import/Form/DataSource.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CRM/Contact/Import/Form/DataSource.php b/CRM/Contact/Import/Form/DataSource.php index 3c65435a90..9386632bf3 100644 --- a/CRM/Contact/Import/Form/DataSource.php +++ b/CRM/Contact/Import/Form/DataSource.php @@ -29,19 +29,6 @@ class CRM_Contact_Import_Form_DataSource extends CRM_Import_Form_DataSource { return 'contact_import'; } - /** - * Get any smarty elements that may not be present in the form. - * - * To make life simpler for smarty we ensure they are set to null - * rather than unset. This is done at the last minute when $this - * is converted to an array to be assigned to the form. - * - * @return array - */ - public function getOptionalQuickFormElements(): array { - return ['disableUSPS']; - } - /** * Build the form object. * -- 2.25.1