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] Final round in the cleanup Load Mapping form epic #15226

Merged
merged 4 commits into from
Sep 6, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 6, 2019

Overview

This removes all the now-obsolete code from the mapping cleanup
-94 + 30.... but that is just this PR

The final result is that the 134 lines here https://github.com/civicrm/civicrm-core/blob/5.16/CRM/Contact/Import/Form/MapField.php#L407-L543

are now just 2 lines

And these
https://github.com/civicrm/civicrm-core/blob/5.16/CRM/Contact/Import/Form/MapField.php#L202-L239

are 1

Before

Chaos

After

Calm

Technical Details

After all the cleanups & tests we can now remove some big chunks....

Comments

@seamuslee001 @colemanw so this is the final one in the series (the other 2 open PRs are sub-PRs of this for easier review)

@civibot
Copy link

civibot bot commented Sep 6, 2019

(Standard links)

}
}
else {
// this load section to help mapping if we ran out of saved columns when doing Load Mapping
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This else is the same as the else in the main function

@colemanw
Copy link
Member

colemanw commented Sep 6, 2019

Great work Eileen!

@eileenmcnaughton
Copy link
Contributor Author

unrelated fail

@eileenmcnaughton eileenmcnaughton merged commit 90d53fd into civicrm:master Sep 6, 2019
@eileenmcnaughton eileenmcnaughton deleted the headers3 branch September 6, 2019 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants