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 Don't pass activity object to addCaseActivityLinks #14110

Merged
merged 1 commit into from
Apr 25, 2019

Conversation

mattwire
Copy link
Contributor

Overview

Simplifies the transitional addCaseActivityLinks function by removing one of the passed parameters.

Before

Less refactorable

After

More refactorable

Technical Details

We switch addCaseActivityLinks to private as it should not be called from elsewhere (it was only added recently so this should not be an issue). Once the refactor is "complete" the function will disappear and be replace by actionLinks.

Comments

Partial from master...mattwire:case_links_refactor_part2

@civibot
Copy link

civibot bot commented Apr 22, 2019

(Standard links)

@civibot civibot bot added the master label Apr 22, 2019
CRM/Case/BAO/Case.php Outdated Show resolved Hide resolved
@mattwire mattwire force-pushed the caseactivitylinks_partial branch from ce5169c to c1c1b93 Compare April 22, 2019 13:47
@eileenmcnaughton
Copy link
Contributor

I worked through this & it looks good to me - looks like this is a fn in toxic.json but the fishes weren't alerted @totten - I thought that dead fish protocol had survived but we just moved the toxic code to other fns

@eileenmcnaughton eileenmcnaughton merged commit 824a466 into civicrm:master Apr 25, 2019
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.

3 participants