From 2b9eca8e3c38cc7320b63fcbf6a8676d049738b2 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 31 Oct 2019 21:55:30 +1300 Subject: [PATCH] Remove unreachable lines --- CRM/Core/Payment/PayPalImpl.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Core/Payment/PayPalImpl.php b/CRM/Core/Payment/PayPalImpl.php index 8c556973ad8d..04ee47e496fe 100644 --- a/CRM/Core/Payment/PayPalImpl.php +++ b/CRM/Core/Payment/PayPalImpl.php @@ -1096,12 +1096,6 @@ public function invokeAPI($args, $url = NULL) { if ($outcome != 'success' && $outcome != 'successwithwarning') { throw new PaymentProcessorException("{$result['l_shortmessage0']} {$result['l_longmessage0']}"); - $e = CRM_Core_Error::singleton(); - $e->push($result['l_errorcode0'], - 0, NULL, - "{$result['l_shortmessage0']} {$result['l_longmessage0']}" - ); - return $e; } return $result;