From: Coleman Watts Date: Thu, 3 Apr 2014 21:03:13 +0000 (-0400) Subject: CRM-14288 - Remove obsolete custom field hack X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=147a74aa7f6458d07b940f96339c96d3c80c685d;p=civicrm-core.git CRM-14288 - Remove obsolete custom field hack --- 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