Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
/**
 * Trigger to cascade delete Send2CRM Visitors.
 */
trigger CustomObjectCascadeTrigger on CustomObject__c (after delete) {
  // Cascade delete all related Visitors, unless still related to other records.
  // No deletion will occur if cascade delete is disabled by custom setting.
  send2crm.TriggerHelperVisitorHelper.cascadeDeleteVisitors(Trigger.oldMap.keySet());
}

...