From e9ee4b7081a48e83db2471e0889dd62afafdee96 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 15 Feb 2020 01:29:59 +1300 Subject: [PATCH] Remove never used property I grepped for _roleId & found it in only these 2 places - removing --- CRM/Event/Form/Participant.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 37faf681f1..94402038c0 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -119,13 +119,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment */ public $_action; - /** - * Role Id. - * - * @var int - */ - protected $_roleId = NULL; - /** * Event Type Id. * @@ -417,7 +410,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment if ($this->_id) { // assign participant id to the template $this->assign('participantId', $this->_id); - $this->_roleId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Participant', $this->_id, 'role_id'); } // when fee amount is included in form -- 2.25.1