1
0
mirror of https://github.com/flarum/core.git synced 2025-07-17 06:41:21 +02:00

Change fire → dispatch

See a6c5128b46
This commit is contained in:
Toby Zerner
2018-01-11 12:44:22 +10:30
parent 7cecf23b0c
commit d14b20ca74

View File

@@ -53,7 +53,7 @@ class DeleteFlagsHandler
$this->assertCan($actor, 'viewFlags', $post->discussion);
$this->events->fire(new FlagsWillBeDeleted($post, $actor, $command->data));
$this->events->dispatch(new FlagsWillBeDeleted($post, $actor, $command->data));
$post->flags()->delete();