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