Skip to content
Snippets Groups Projects
Commit 947a6866 authored by Pravin Gaikwad's avatar Pravin Gaikwad
Browse files

Issue #3386010 by Rajeshreeputra, Matus Grinvalsky, jaapjan, ahmetburkan: GDPR...

Issue #3386010 by Rajeshreeputra, Matus Grinvalsky, jaapjan, ahmetburkan: GDPR removal task failing in D10 in eventDispatcher->dispatch()
parent ad559483
No related branches found
No related tags found
1 merge request!27Fix failing GDPR removal task in D10 in eventDispatcher->dispatch
......@@ -139,7 +139,7 @@ class TaskActionsForm extends ContentEntityForm {
$errors = $this->anonymizer->run($entity);
if (count($errors) === 0) {
$this->eventDispatcher->dispatch(RightToBeForgottenCompleteEvent::EVENT_NAME, new RightToBeForgottenCompleteEvent($email));
$this->eventDispatcher->dispatch(new RightToBeForgottenCompleteEvent($email), RightToBeForgottenCompleteEvent::EVENT_NAME);
}
return $errors;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment