Skip to content

Commit

Permalink
Merge pull request #15672 from eileenmcnaughton/unreachable
Browse files Browse the repository at this point in the history
[NFC] Remove unreachable lines
  • Loading branch information
colemanw authored Oct 31, 2019
2 parents 9e0bfc6 + 2b9eca8 commit 69f7f66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CRM/Core/Payment/PayPalImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 69f7f66

Please sign in to comment.