event generation fix

This commit is contained in:
ArnabChatterjee20k
2025-10-10 15:24:42 +05:30
parent 0108f86180
commit 44e6ef3146
+1 -5
View File
@@ -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);
}
/**