Skip to content

Commit

Permalink
Merge pull request #25628 from lemniscus/undeprecate-cidRefs-merge-hook
Browse files Browse the repository at this point in the history
Remove deprecation from a hook that's actually uniquely useful
  • Loading branch information
eileenmcnaughton authored Jun 1, 2023
2 parents 17e7e3d + 5c3ad05 commit be0b134
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CRM/Dedupe/Merger.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ public static function cidRefs() {
}

CRM_Utils_Hook::merge('cidRefs', $contactReferences);
if ($contactReferences !== $coreReferences) {
CRM_Core_Error::deprecatedWarning("Deprecated hook ::merge in context of 'cidRefs. Use entityTypes instead.");
}
\Civi::$statics[__CLASS__]['contact_references'] = $contactReferences;
return \Civi::$statics[__CLASS__]['contact_references'];
}
Expand Down

0 comments on commit be0b134

Please sign in to comment.