Merge pull request #14977 from eileenmcnaughton/map_field
[civicrm-core.git] / CRM / Contact / ActionMapping.php
index 90cae0a3a8ddf42eaaadaea204d18b5b3e58118b..2f5f7b28d7deef350738befebc51102d7ed030a2 100644 (file)
@@ -25,7 +25,6 @@
  +--------------------------------------------------------------------+
  */
 
-use Civi\ActionSchedule\RecipientBuilder;
 
 /**
  * Class CRM_Contact_ActionMapping
@@ -142,7 +141,8 @@ class CRM_Contact_ActionMapping extends \Civi\ActionSchedule\Mapping {
         'casEntityIdField' => 'e.id',
         'casContactTableAlias' => NULL,
       ]);
-      $query->where('1'); // possible to have no "where" in this case
+      // possible to have no "where" in this case
+      $query->where('1');
     }
 
     $query['casDateField'] = 'e.' . $dateDBField;