forked from civicrm/civicrm-core
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] Deprecate BAO_Contact::retrieve
This removes 2 calls to BAO_Contact::retrieve and marks it as deprecated. It is a surprisingly complex function and all the calls to it only use parts of what it does - in general just having the code 'do the thing' is better. In this case it turns out there is no need for the contact objects. There is also some pretty funky handling for the location keys in the next section so making it clearer what is in them should make it possible to simplify that....
- Loading branch information
1 parent
a96ab6d
commit 9469949
Showing
3 changed files
with
27 additions
and
20 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
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
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