From a6ccc73720124a9cc1da675cda83d7a6e9ab92dc Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 4 Mar 2019 17:14:29 +0530 Subject: [PATCH] report clean up - remove redundant code --- CRM/Report/Form/Event/ParticipantListing.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index 23f8762a14..c9be9e8143 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -732,19 +732,6 @@ ORDER BY cv.label $entryFound = TRUE; } - // Handle employer id - if (array_key_exists('civicrm_contact_employer_id', $row)) { - $employerId = $row['civicrm_contact_employer_id']; - if ($employerId) { - $rows[$rowNum]['civicrm_contact_employer_id'] = CRM_Contact_BAO_Contact::displayName($employerId); - $url = CRM_Utils_System::url('civicrm/contact/view', - 'reset=1&cid=' . $employerId, $this->_absoluteUrl - ); - $rows[$rowNum]['civicrm_contact_employer_id_link'] = $url; - $rows[$rowNum]['civicrm_contact_employer_id_hover'] = ts('View Contact Summary for this Contact.'); - } - } - // Convert campaign_id to campaign title $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_participant_campaign_id', $rowNum, $this->campaigns); -- 2.25.1