mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
event generation fix
This commit is contained in:
1 parent
0108f86180
commit
44e6ef3146
1 file changed
+1
-5
@@ -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