From: eileen Date: Wed, 5 Aug 2020 21:05:56 +0000 (+1200) Subject: Remove stub function X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f42c810f2bde892ee098ea5988a08eb5da6dea59;p=civicrm-core.git Remove stub function We used to do this, we don't now --- diff --git a/CRM/Core/Payment/PayflowPro.php b/CRM/Core/Payment/PayflowPro.php index 9eef03f0e7..0a06a3300d 100644 --- a/CRM/Core/Payment/PayflowPro.php +++ b/CRM/Core/Payment/PayflowPro.php @@ -333,18 +333,6 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { } } - /** - * NOTE: 'doTransferCheckout' not implemented - * - * @param array $params - * @param $component - * - * @throws Exception - */ - public function doTransferCheckout(&$params, $component) { - throw new CRM_Core_Exception(ts('This function is not implemented')); - } - /** * This public function checks to see if we have the right processor config values set * @@ -367,9 +355,7 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { if (!empty($errorMsg)) { return implode('

', $errorMsg); } - else { - return NULL; - } + return NULL; } /** @@ -392,9 +378,10 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { * Submit transaction using cURL * * @param string $submiturl Url to direct HTTPS GET to - * @param $payflow_query value string to be posted + * @param string $payflow_query value string to be posted * * @return mixed|object + * @throws \Civi\Payment\Exception\PaymentProcessorException */ public function submit_transaction($submiturl, $payflow_query) { // get data ready for API