From 2fd5e617f32386f1dd0a81a9e21cf6553f1f5a3e Mon Sep 17 00:00:00 2001
From: Pratik Joshi <pratik.joshi@webaccess.co.in>
Date: Wed, 5 Jun 2013 19:39:24 +0530
Subject: [PATCH] CRM-10164 : more clean up

---
 CRM/Event/Form/Registration.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/CRM/Event/Form/Registration.php b/CRM/Event/Form/Registration.php
index 2bbecefaaf..a0e2288276 100644
--- a/CRM/Event/Form/Registration.php
+++ b/CRM/Event/Form/Registration.php
@@ -219,7 +219,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
       $this->_lineItemParticipantsCount = array();
     }
     $this->_availableRegistrations = $this->get('availableRegistrations');
-    $this->_totalParticipantCount = $this->get('totalParticipantcount');
     $this->_participantIDS = $this->get('participantIDs');
 
     //check if participant allow to walk registration wizard.
@@ -448,9 +447,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form {
     if ($pcpId) {
       $pcp             = CRM_PCP_BAO_PCP::handlePcp($pcpId, 'event', $this->_values['event']);
       $this->_pcpId    = $pcp['pcpId'];
-      $this->_pcpBlock = $pcp['pcpBlock'];
-      $this->_pcpInfo  = $pcp['pcpInfo'];
-      $this->_values['event']['intro_text'] = CRM_Utils_Array::value('intro_text', $this->_pcpInfo);
+      $this->_values['event']['intro_text'] = CRM_Utils_Array::value('intro_text', $pcp['pcpInfo']);
     }
 
     // assign all event properties so wizard templates can display event info.
-- 
GitLab