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] Minor cleanup on contactGroup function #19286

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Dec 30, 2020

Overview

[REF] Minor cleanup on contactGroup function

Before

Function is called from one place with contactID as an int and showHidden as false but handles the possibility contactID is an array & showHidden is true

After

Simpler....

Technical Details

Comments

This function is only called from one place so we can be sure that contactID is an integer and
showHidden is false
@civibot
Copy link

civibot bot commented Dec 30, 2020

(Standard links)

@civibot civibot bot added the master label Dec 30, 2020
@mattwire mattwire merged commit 7b1c1d6 into civicrm:master Jan 7, 2021
@eileenmcnaughton eileenmcnaughton deleted the group branch February 22, 2021 06:15
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