Rename events to insert local post

This commit is contained in:
Art4 2025-03-14 15:45:36 +00:00
parent 9aeb68231d
commit 9c6f5f222d
8 changed files with 23 additions and 23 deletions

View file

@ -154,7 +154,7 @@ EOT;
$post['id'] = $post_id;
$post = $this->eventDispatcher->dispatch(
new ArrayFilterEvent(ArrayFilterEvent::POST_LOCAL_END, $post)
new ArrayFilterEvent(ArrayFilterEvent::INSERT_POST_LOCAL_END, $post)
)->getArray();
$post = Post::selectFirst(['uri-id', 'uid'], ['id' => $post_id]);