From b1f7f08b9a17216efde50ce028d7bf7dfdc7ec67 Mon Sep 17 00:00:00 2001 From: Darshan Date: Thu, 12 Jun 2025 16:06:15 +0530 Subject: [PATCH] remove: duplicate events. --- .../Http/Databases/Collections/Documents/Create.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php index 6a16644a2f..33406044f1 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php @@ -367,12 +367,6 @@ class Create extends Action throw new Exception($this->getInvalidStructureException(), $e->getMessage()); } - $queueForEvents - ->setParam('databaseId', $databaseId) - ->setParam('collectionId', $collection->getId()) - ->setContext('collection', $collection) - ->setContext('database', $database); - $queueForEvents ->setParam('databaseId', $databaseId) ->setContext('database', $database)