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

[REF] [Import] Contribution import - clarify return codes #23290

Merged
merged 1 commit into from
May 9, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Apr 23, 2022

Overview

[REF] [Import] Contribution import - clarify return codes,

Before

It's unclear what return codes are in use

After

I went through & documented them on the 2 functions that return them

https://github.com/civicrm/civicrm-core/pull/23290/files#diff-a223445bfabeca3421466f7add0f896b2f7126287cbbd3124665781336f086d9R757-R764

and

https://github.com/civicrm/civicrm-core/pull/23290/files#diff-a223445bfabeca3421466f7add0f896b2f7126287cbbd3124665781336f086d9R721-R722

Technical Details

Comments

@civibot
Copy link

civibot bot commented Apr 23, 2022

(Standard links)

* @return bool
* the result of this processing
*/
public function preview(&$values) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this & just call summary directly further down

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton eileenmcnaughton changed the title [REF] [Import] Contribution import - clarify return codes, remove handling for unused CONFLICT [REF] [Import] Contribution import - clarify return codes May 9, 2022
@colemanw colemanw merged commit 23adc6d into civicrm:master May 9, 2022
@colemanw colemanw deleted the import_cont branch May 9, 2022 17:43
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