Skip to content

Commit

Permalink
ISSUE-17715: Duplicate event in Delete operation transaction "entity_…
Browse files Browse the repository at this point in the history
…manager_delete_before".
  • Loading branch information
p-bystritsky committed Aug 21, 2018
1 parent b2a65ae commit bbd9ba7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function execute($entity, $arguments = [])
$entity = $this->deleteMain->execute($entity, $arguments);
$this->eventManager->dispatchEntityEvent($entityType, 'delete_after', ['entity' => $entity]);
$this->eventManager->dispatch(
'entity_manager_delete_before',
'entity_manager_delete_after',
[
'entity_type' => $entityType,
'entity' => $entity
Expand Down

0 comments on commit bbd9ba7

Please sign in to comment.