Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paypal class cleanup #16088

Merged
merged 1 commit into from
Dec 12, 2019
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Minor cleanup

  • remove handling for returned error - this is never returned now
  • remove url parameter on invokeApi - this is never passed to it
  • throw an exception rather than use a fatal if curl not installed

Before

We remove situations where CRM_Core_Error is returned from invokeAPI in #16072 -but handling remained

After

Handling cleaned up - other trivial cleanups per above

Technical Details

Comments

- remove handling for returned error - this is never returned now
- remove url parameter on invokeApi - this is never passed to it
- throw an exception rather than use a fatal if curl not installed
@civibot
Copy link

civibot bot commented Dec 11, 2019

(Standard links)

@civibot civibot bot added the master label Dec 11, 2019
@eileenmcnaughton
Copy link
Contributor Author

test this please

@seamuslee001
Copy link
Contributor

This looks fine to me merging

@seamuslee001 seamuslee001 merged commit 04dbce9 into civicrm:master Dec 12, 2019
@seamuslee001 seamuslee001 deleted the paypal_clean branch December 12, 2019 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants