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

NFC: Rename variable in RecurringEntityPreview #12770

Merged

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Sep 4, 2018

Overview

$parentEventId can be an event ID, an activity ID, or any other entity ID that implements recurringentity.
This is a simple rename to make the code easier to understand.

Before

$parentEventId is not necessarily an event ID

After

$parentEventId renamed to $parentEntityId

Technical Details

No functional changes.

Comments

RecurringEntity has some code that is specific to events and should probably be moved to a child class, but this variable is not!

@colemanw
Copy link
Member

colemanw commented Sep 4, 2018

👍 good to merge

@totten totten added the master label Sep 5, 2018
@eileenmcnaughton
Copy link
Contributor

test this please

@seamuslee001
Copy link
Contributor

Test Fails unrelated merging as per the tag

@seamuslee001 seamuslee001 merged commit 0cfdb7e into civicrm:master Sep 13, 2018
@mattwire mattwire deleted the recurringentity_parentid_rename branch September 25, 2018 10:58
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.

5 participants