From: eileen Date: Tue, 24 Nov 2015 03:58:56 +0000 (+1300) Subject: code comments X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0eb1f7ffeadd11da926da35269c112cdff380569;p=civicrm-core.git code comments --- diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 78ed0807c9..89c6f573ed 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -1065,9 +1065,12 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { $payment = $this->_paymentProcessor['object']; $payment->setBaseReturnUrl('civicrm/event/register'); } - // default mode is direct + + // ContributeMode is a deprecated concept. It is short-hand for a bunch of + // assumptions we are working to remove. $this->set('contributeMode', 'direct'); + // This code is duplicated multiple places and should be consolidated. if (isset($params["state_province_id-{$this->_bltID}"]) && $params["state_province_id-{$this->_bltID}"] ) {