CRM-14288 - Remove obsolete custom field hack
authorColeman Watts <coleman@civicrm.org>
Thu, 3 Apr 2014 21:03:13 +0000 (17:03 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 3 Apr 2014 21:03:13 +0000 (17:03 -0400)
CRM/Core/BAO/CustomField.php

index 2d1b992071161dbe76478477af888d33c7e76abe..a99fe523eefd582272c879ddfebdc69720a7893c 100644 (file)
@@ -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