Removed unwanted code
authorSudha Bisht <sudha.bisht@webaccessglobal.com>
Thu, 2 Jul 2015 14:47:32 +0000 (20:17 +0530)
committerSudha Bisht <sudha.bisht@webaccessglobal.com>
Fri, 3 Jul 2015 07:07:11 +0000 (12:37 +0530)
CRM/Member/BAO/Query.php
CRM/Member/Form/Search.php

index 097f9da1021639ca330b7e82d0fd1719f5ab0a7d..3a7b86d41f1143e94dade3201376ab81f461fb7b 100644 (file)
@@ -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':
index 66c36566085e6ce376b40b8ad307bff0cb63f83f..0e69f987cda298d0bb5fc258efcdbe7b425bdd64 100644 (file)
@@ -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);
       }
     }