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

dev/core#1482 Remove lines of code that appear to relate to legacy logic #16125

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Removes some obsolete code, and, in doing so a query

Before

Entry in subscription_history created with no group_id on new contact create

After

Above removed

Technical Details

As discussed in https://lab.civicrm.org/dev/core/issues/1482 the subscription history table appears to still be used for
recording group history but this business of creating a row with no attached group appears to be from a logic flow that
is long-superceded by change log & db logging

Comments

As discussed in https://lab.civicrm.org/dev/core/issues/1482 the subscription history table appears to still be used for
recording group history but this business of creating a row with no attached group appears to be from a logic flow that
is long-superceded by change log & db logging
@civibot
Copy link

civibot bot commented Dec 19, 2019

(Standard links)

@civibot civibot bot added the master label Dec 19, 2019
@artfulrobot
Copy link
Contributor

This is as discussed; it removes code that does nothing useful and actually creates troublesome data rows in a table whose purpose is unrelated to creating a contact.

@yashodha
Copy link
Contributor

@eileenmcnaughton makes sense, +1 for removing obsolete code

@colemanw colemanw merged commit 28506a4 into civicrm:master Dec 20, 2019
@eileenmcnaughton eileenmcnaughton deleted the cont_sub branch December 20, 2019 19:46
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.

4 participants