From: Eileen McNaughton Date: Fri, 17 Jul 2015 12:33:49 +0000 (+1200) Subject: phpcs fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d5239828caf482e1ae2c4ead175130805635ccdc;p=civicrm-core.git phpcs fix --- diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index ef6a9d68a7..8a5a1b9d6a 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -1765,7 +1765,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr $payment = Civi\Payment\System::singleton()->getByProcessor($form->_paymentProcessor); $result = $payment->doPayment($form->_params, 'contribute'); - if (CRM_Utils_Array::value('payment_status_id', $result) == 1) { // Refer to CRM-16737. Payment processors 'should' return payment_status_id // to denote the outcome of the transaction.