From dddafc52c986d3fcf5869cc3c213b1509883b25c Mon Sep 17 00:00:00 2001 From: Sudha Bisht Date: Thu, 2 Jul 2015 20:17:32 +0530 Subject: [PATCH] Removed unwanted code --- CRM/Member/BAO/Query.php | 1 - CRM/Member/Form/Search.php | 4 ---- 2 files changed, 5 deletions(-) diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index 097f9da102..3a7b86d41f 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -202,7 +202,6 @@ class CRM_Member_BAO_Query { return; case 'membership_status': - case 'member_status_id': case 'membership_status_id': case 'membership_type': case 'membership_type_id': diff --git a/CRM/Member/Form/Search.php b/CRM/Member/Form/Search.php index 66c3656608..0e69f987cd 100644 --- a/CRM/Member/Form/Search.php +++ b/CRM/Member/Form/Search.php @@ -216,10 +216,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search { foreach ($specialParams as $element) { $value = CRM_Utils_Array::value($element, $this->_formValues); if (!empty($value) && is_array($value)) { - if ($element == 'status_id') { - unset($this->_formValues[$element]); - $element = 'member_' . $element; - } $this->_formValues[$element] = array('IN' => $value); } } -- 2.25.1