From 44e6ef314646344925782c49dd9976aab602ca0d Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 10 Oct 2025 15:24:42 +0530 Subject: [PATCH] event generation fix --- src/Appwrite/Event/Event.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Appwrite/Event/Event.php b/src/Appwrite/Event/Event.php index c0d077cff0..ef4b7a2bbb 100644 --- a/src/Appwrite/Event/Event.php +++ b/src/Appwrite/Event/Event.php @@ -580,11 +580,7 @@ class Event /** * Return a combined list of table, collection events and if tablesdb include all for backward compatibility */ - if ($database && ($database->getAttribute('type') === 'legacy' || $database->getAttribute('type') === 'tablesdb')) { - return Event::mirrorCollectionEvents($pattern, $eventValues[0], $eventValues); - } - - return $eventValues; + return Event::mirrorCollectionEvents($pattern, $eventValues[0], $eventValues); } /**