Skip to content

Commit

Permalink
Remove unreachable code (since 2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Jan 2, 2023
1 parent 7707879 commit 02598ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CRM/Contribute/Form/Contribution/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2851,11 +2851,7 @@ public function processConfirm(
'payment_processor_id' => 0,
];
}

CRM_Contribute_BAO_ContributionPage::sendMail($contactID,
$form->_values,
$contribution->is_test
);
throw new CRM_Core_Exception('code is unreachable, exception is for clarity for refactoring');
}

/**
Expand Down

0 comments on commit 02598ec

Please sign in to comment.