From 910214fb9ee196f15f49ca259af959f06990baf6 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 17 Nov 2019 17:32:21 +1300 Subject: [PATCH] [REF] remove unused lines of code On checking this out this variable is never used ( is) --- CRM/Event/Form/Participant.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index c22c2f566e..b8220235fe 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1619,12 +1619,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->assign('receive_date', $params['receive_date']); } - $participant = [['participant_id', '=', $participants[0]->id, 0, 0]]; - // check whether its a test drive ref CRM-3075 - if (!empty($this->_defaultValues['is_test'])) { - $participant[] = ['participant_test', '=', 1, 0, 0]; - } - $customGroup = []; //format submitted data foreach ($params['custom'] as $fieldID => $values) { -- 2.25.1