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] Convert Custom Field BAO Class to use standard Civi:: rather than local static vars #16614

Closed

Conversation

seamuslee001
Copy link
Contributor

Overview

This converts the Custom Field BAO class to using the standard Civi::$statics functionality rather than using local static vars

Before

Local static vars used

After

Civi::$statics functionality used

Technical Details

currently also incorporates #16613 but will rebase once that is merged in

Comments

ping @eileenmcnaughton @mattwire

@civibot civibot bot added the master label Feb 21, 2020
@civibot
Copy link

civibot bot commented Feb 21, 2020

(Standard links)

@mattwire
Copy link
Contributor

@seamuslee001 Not sure if others agree but for this kind of cleanup I find it easier to just have one PR and 2 or 3 commits (like you've done). As it's quite easy to review each commit and see that the changes are similar.

@colemanw
Copy link
Member

Retest this please

@eileenmcnaughton
Copy link
Contributor

@seamuslee001 this generally makes sense but you haven't sold it to jenkins

@eileenmcnaughton
Copy link
Contributor

stale - closing for now

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