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

Remove code for legacy php versions - assign_by_ref with an object #25247

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Remove code for legacy php versions - assign_by_ref with an object

Before

Use of assign_by_ref with objects is no different to assign in modern php - I believe this to be left over from our drive to support php4 at one point

After

poof

Technical Details

I'm tinkering with later smarty - which don't support assign_by_ref at all & none of our usages of it make sense

Comments

@civibot
Copy link

civibot bot commented Jan 1, 2023

(Standard links)

@civibot civibot bot added the master label Jan 1, 2023
@demeritcowboy demeritcowboy merged commit 7c2cd69 into civicrm:master Jan 17, 2023
@demeritcowboy
Copy link
Contributor

Yeah if a tpl is intentionally changing the config or session then that's probably bad code that should be fixed.

@eileenmcnaughton eileenmcnaughton deleted the assign_ref branch January 17, 2023 18:57
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