diff --git a/application/Module.php b/application/Module.php index 6a50c5d4ce..1f9a52901e 100644 --- a/application/Module.php +++ b/application/Module.php @@ -117,7 +117,7 @@ public function attachListeners(SharedEventManagerInterface $sharedEventManager) $sharedEventManager->attach( '*', - 'api.delete.post', + 'api.delete.pre', [$this, 'deleteFulltext'] );