CRM-21677 - report clean up for employer report
authoryashodha <yashodha@cividesk.com>
Mon, 16 Sep 2019 05:38:29 +0000 (11:08 +0530)
committeryashodha <yashodha@cividesk.com>
Mon, 16 Sep 2019 05:38:29 +0000 (11:08 +0530)
CRM/Report/Form/Contact/CurrentEmployer.php

index b1780c73c99ec2d347958ae7ff91df8fe9694714..49f122b44edf2970744cdc1c87b9ae0652ca12ce 100644 (file)
@@ -361,14 +361,6 @@ FROM civicrm_contact {$this->_aliases['civicrm_contact']}
       // Handle ID to label conversion for contact fields
       $entryFound = $this->alterDisplayContactFields($row, $rows, $rowNum, 'contact/currentEmployer', 'View Contact Detail') ? TRUE : $entryFound;
       $entryFound = $this->alterDisplayAddressFields($row, $rows, $rowNum, NULL, NULL) ? TRUE : $entryFound;
-      // display birthday in the configured custom format
-      if (array_key_exists('civicrm_contact_birth_date', $row)) {
-        $birthDate = $row['civicrm_contact_birth_date'];
-        if ($birthDate) {
-          $rows[$rowNum]['civicrm_contact_birth_date'] = CRM_Utils_Date::customFormat($birthDate, '%Y%m%d');
-        }
-        $entryFound = TRUE;
-      }
 
       // convert employee name to links
       if (array_key_exists('civicrm_contact_sort_name', $row) &&