Skip to content

Commit

Permalink
Fix Double Event Execution
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Jan 27, 2025
1 parent 09f9b01 commit e145a8a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -4021,7 +4021,6 @@ public function updateDocument(string $collection, string $id, Document $documen

$document = $this->decode($collection, $document);

$this->purgeCachedDocument($collection->getId(), $id);
$this->trigger(self::EVENT_DOCUMENT_UPDATE, $document);

return $document;
Expand Down

0 comments on commit e145a8a

Please sign in to comment.