APIv4 - Remove incorrect EntityBridge from UFMatch entity
authorColeman Watts <coleman@civicrm.org>
Tue, 25 Apr 2023 15:13:07 +0000 (11:13 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 25 Apr 2023 15:13:07 +0000 (11:13 -0400)
UFJoin cannot work as a bridge because it does not connect two CiviCRM entities with each other.
So the trait wasn't doing anything except getting in the way of SearchKit being able to perform joins.

Civi/Api4/UFMatch.php

index 5854f4413024fc49957e64f609f49f53d562d945..5907973ba8da1bbacfb1b1f76726ee9819ca4934 100644 (file)
 namespace Civi\Api4;
 
 /**
- * UFMatch entity - links civicrm contacts with users created externally
+ * Matches CiviCRM contacts with their CMS user accounts
  *
  * @searchable secondary
  * @since 5.19
  * @package Civi\Api4
  */
 class UFMatch extends Generic\DAOEntity {
-  use Generic\Traits\EntityBridge;
 
 }