From: Pratik Joshi Date: Wed, 5 Jun 2013 14:09:24 +0000 (+0530) Subject: CRM-10164 : more clean up X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2fd5e617f32386f1dd0a81a9e21cf6553f1f5a3e;p=civicrm-core.git CRM-10164 : more clean up --- 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.