From 147a74aa7f6458d07b940f96339c96d3c80c685d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 3 Apr 2014 17:03:13 -0400 Subject: [PATCH] CRM-14288 - Remove obsolete custom field hack --- CRM/Core/BAO/CustomField.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index 2d1b992071..a99fe523ee 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -732,15 +732,6 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { $search = FALSE, $label = NULL ) { - // we use $_POST directly, since we dont want to use session memory, CRM-4677 - if (isset($_POST['_qf_Relationship_refresh']) && - ($_POST['_qf_Relationship_refresh'] == 'Search' || - $_POST['_qf_Relationship_refresh'] == 'Search Again' - ) - ) { - $useRequired = FALSE; - } - $field = self::getFieldObject($fieldId); // Custom field HTML should indicate group+field name -- 2.25.1