mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
fire -> dispatch
As per Illuminate\Contracts\Events\Dispatcher
This commit is contained in:
@@ -50,7 +50,7 @@ class DeletePostHandler
|
||||
|
||||
$this->assertCan($actor, 'delete', $post);
|
||||
|
||||
$this->events->fire(
|
||||
$this->events->dispatch(
|
||||
new Deleting($post, $actor, $command->data)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user