-
-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop passing / using object when all we need is the id
Rather than set id on the contribution object just to be able to access it via contribution->id let's name the param we keep using & use that. Note I'm still getting contribution->id from contribution here but I think this makes it clear that the object is mostly only used in addActivity now. The sligtly larger change is in updateMembershipBasedOnCompletionOfContribution where there is an instantiation of 'self()' since we no longer have the object
- Loading branch information
1 parent
d42a0ae
commit eed14ab
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters