mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
event generation fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user