X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FFinancial%2FForm%2FPayment.php;h=9deb8ea265545e01b3d6506995834fd3fc0db29c;hb=c55429dc01d68c84507728f9876a4c2482676856;hp=1d3ab8604405c6e7d140df5a2fd7c1e884432772;hpb=f14a8cc5397fca2a4ed9ea754337730c3285aff8;p=civicrm-core.git diff --git a/CRM/Financial/Form/Payment.php b/CRM/Financial/Form/Payment.php index 1d3ab86044..9deb8ea265 100644 --- a/CRM/Financial/Form/Payment.php +++ b/CRM/Financial/Form/Payment.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ class CRM_Financial_Form_Payment extends CRM_Core_Form { @@ -38,7 +38,7 @@ class CRM_Financial_Form_Payment extends CRM_Core_Form { protected $_paymentProcessorID; protected $currency; - public $_values = array(); + public $_values = []; /** * @var array @@ -79,11 +79,6 @@ class CRM_Financial_Form_Payment extends CRM_Core_Form { CRM_Core_Payment_ProcessorForm::preProcess($this); - self::addCreditCardJs($this->_paymentProcessorID); - - $this->assign('paymentProcessorID', $this->_paymentProcessorID); - $this->assign('currency', $this->currency); - $this->assign('suppressForm', TRUE); $this->controller->_generateQFKey = FALSE; } @@ -96,7 +91,7 @@ class CRM_Financial_Form_Payment extends CRM_Core_Form { * * @return string */ - public function getCurrency($submittedValues = array()) { + public function getCurrency($submittedValues = []) { return $this->currency; }