diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 9c9e22e03564..4b400a8b6942 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2713,11 +2713,6 @@ public function composeMessageArray(&$input, &$ids, &$values, $returnMessageText $template->assign('cancelSubscriptionUrl', $paymentObject->subscriptionURL($entityID, $entity, 'cancel')); $template->assign('updateSubscriptionBillingUrl', $paymentObject->subscriptionURL($entityID, $entity, 'billing')); $template->assign('updateSubscriptionUrl', $paymentObject->subscriptionURL($entityID, $entity, 'update')); - - if ($this->_relatedObjects['paymentProcessor']['billing_mode'] & CRM_Core_Payment::BILLING_MODE_FORM) { - //direct mode showing billing block, so use directIPN for temporary - $template->assign('contributeMode', 'directIPN'); - } } // todo remove strtolower - check consistency if (strtolower($this->_component) === 'event') {