Skip to content

Commit

Permalink
Merge pull request #22392 from eileenmcnaughton/protect
Browse files Browse the repository at this point in the history
Privatise function
  • Loading branch information
eileenmcnaughton authored Jan 7, 2022
2 parents adc8295 + 4ea81ef commit 35db25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/BAO/Contact/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ private static function legacyCreateMultiple(&$params, int $contactID) {
* @throws CiviCRM_API3_Exception
* @throws \CRM_Core_Exception
*/
public static function currentEmployerRelatedMembership($contactID, $employerID, $relationshipParams, $duplicate = FALSE, $previousEmpID = NULL) {
private static function currentEmployerRelatedMembership($contactID, $employerID, $relationshipParams, $duplicate = FALSE, $previousEmpID = NULL) {
$ids = [];
$action = CRM_Core_Action::ADD;

Expand Down

0 comments on commit 35db25f

Please sign in to comment.