Privatise function
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 6 Jan 2022 23:56:20 +0000 (12:56 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 6 Jan 2022 23:56:20 +0000 (12:56 +1300)
CRM/Contact/BAO/Contact/Utils.php

index 4399d2f3456e1828aca7d9c854fe0cabb391532e..26cb2a52508fd2f081dae1d0111e86659b00bbcb 100644 (file)
@@ -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;