From 160c9df218194e34a492fa43883018532282c619 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 17 Feb 2015 01:51:23 +1300 Subject: [PATCH] Tidy up - put civiExit in calling class --- CRM/Core/Payment.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index 004e26ab24..d41af48100 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -519,6 +519,7 @@ abstract class CRM_Core_Payment { 'mode' => @$_GET['mode'], ) ); + CRM_Utils_System::civiExit(); } /** @@ -618,11 +619,6 @@ abstract class CRM_Core_Payment { "$method method is unsupported in legacy payment processors." ); } - - // Exit here on web requests, allowing just the plain text response to be echoed - if ($method == 'handlePaymentNotification') { - CRM_Utils_System::civiExit(); - } } /** -- 2.25.1