Skip to content

Commit 623ef23

Browse files
committed
Remove invalid event call
1 parent d13b10a commit 623ef23

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/Database/Database.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,12 +2286,6 @@ protected function updateIndexMeta(string $collection, string $id, callable $upd
22862286
fn () => $this->silent(fn () => $this->updateDocument(self::METADATA, $collection->getId(), $collection))
22872287
);
22882288

2289-
try {
2290-
$this->trigger(self::EVENT_ATTRIBUTE_UPDATE, $indexes[$index]);
2291-
} catch (\Throwable $e) {
2292-
// Log but don't throw - event failures shouldn't fail the operation
2293-
}
2294-
22952289
return $indexes[$index];
22962290
}
22972291

0 commit comments

Comments
 (0)