From f1d5d2d0b5eb2469f40bf1bd0207e70e59eaf983 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Fri, 3 Aug 2018 23:25:23 +0100 Subject: [PATCH] Remove unused variables --- CRM/Event/BAO/ParticipantStatusType.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Event/BAO/ParticipantStatusType.php b/CRM/Event/BAO/ParticipantStatusType.php index 53f2720e9c..b41b3693cc 100644 --- a/CRM/Event/BAO/ParticipantStatusType.php +++ b/CRM/Event/BAO/ParticipantStatusType.php @@ -125,7 +125,6 @@ class CRM_Event_BAO_ParticipantStatusType extends CRM_Event_DAO_ParticipantStatu $returnMessages = array(); - $participantRole = CRM_Event_PseudoConstant::participantRole(); $pendingStatuses = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Pending'"); $expiredStatuses = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Negative'"); $waitingStatuses = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Waiting'"); @@ -137,8 +136,6 @@ class CRM_Event_BAO_ParticipantStatusType extends CRM_Event_DAO_ParticipantStatu $expiredParticipantCount = $waitingConfirmCount = $waitingApprovalCount = 0; //get all participant who's status in class pending and waiting - $query = "SELECT * FROM civicrm_participant WHERE status_id IN {$statusIds} ORDER BY register_date"; - $query = " SELECT participant.id, participant.contact_id, -- 2.25.1