From df7a4eba3a8ea871b50ed51aaf723aeb71f5cbf6 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 27 Sep 2023 09:34:39 +1300 Subject: [PATCH] Remove unused property Property is set but never accessed --- CRM/Event/Form/Participant.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 0d0ae5cced..747e778490 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -134,13 +134,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment */ protected $_statusId = NULL; - /** - * Cache all the participant statuses. - * - * @var array - */ - protected $_participantStatuses; - /** * Participant mode. * @@ -687,7 +680,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $notificationStatusIds = implode(',', array_keys(array_intersect($participantStatusName, $notificationStatuses))); $this->assign('notificationStatusIds', $notificationStatusIds); - $this->_participantStatuses = $statusOptions = CRM_Event_BAO_Participant::buildOptions('status_id', 'create'); + $statusOptions = CRM_Event_BAO_Participant::buildOptions('status_id', 'create'); // Only show refund status when editing if ($this->_action & CRM_Core_Action::ADD) { -- 2.25.1