From 4ea81efa493ea7221627b71516ebe299e7cd59e3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 7 Jan 2022 12:56:20 +1300 Subject: [PATCH] Privatise function --- CRM/Contact/BAO/Contact/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact/Utils.php b/CRM/Contact/BAO/Contact/Utils.php index 4399d2f345..26cb2a5250 100644 --- a/CRM/Contact/BAO/Contact/Utils.php +++ b/CRM/Contact/BAO/Contact/Utils.php @@ -453,7 +453,7 @@ WHERE id IN ( $idString ) * @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; -- 2.25.1