CRM-21677 - report clean up
authoryashodha <yashodha@cividesk.com>
Mon, 20 Aug 2018 08:37:34 +0000 (14:07 +0530)
committeryashodha <yashodha@cividesk.com>
Mon, 20 Aug 2018 08:37:34 +0000 (14:07 +0530)
CRM/Report/Form/Member/Detail.php

index 9430c6fb600b97c64f271ef4f151d65d1239aefe..ba415048658747219199464707a3957ff96db974 100644 (file)
@@ -360,20 +360,6 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form {
         $entryFound = TRUE;
       }
 
-      if (array_key_exists('civicrm_address_state_province_id', $row)) {
-        if ($value = $row['civicrm_address_state_province_id']) {
-          $rows[$rowNum]['civicrm_address_state_province_id'] = CRM_Core_PseudoConstant::stateProvince($value, FALSE);
-        }
-        $entryFound = TRUE;
-      }
-
-      if (array_key_exists('civicrm_address_country_id', $row)) {
-        if ($value = $row['civicrm_address_country_id']) {
-          $rows[$rowNum]['civicrm_address_country_id'] = CRM_Core_PseudoConstant::country($value, FALSE);
-        }
-        $entryFound = TRUE;
-      }
-
       if (array_key_exists('civicrm_contact_sort_name', $row) &&
         $rows[$rowNum]['civicrm_contact_sort_name'] &&
         array_key_exists('civicrm_contact_id', $row)