Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.7.7
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
CRM_Contact_BAO_GroupContactCache::remove(); is called from the createProfileContact function, but it is also called from the contact::create function - which is a few lines earlier.
The actual harm in this is limited by the static caching within the function. But it is confusing, extra code and it really is much more appropriate to call this function from with the relevant BAO calls.