mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:15:52 +08:00
Use new listen API
This commit is contained in:
parent
16cfc2f268
commit
e1bcb083be
@ -5,7 +5,7 @@ use Illuminate\Events\Dispatcher;
|
||||
|
||||
class Extension extends BaseExtension
|
||||
{
|
||||
public function boot(Dispatcher $events)
|
||||
public function listen(Dispatcher $events)
|
||||
{
|
||||
$events->subscribe('Flarum\Likes\Listeners\AddClientAssets');
|
||||
$events->subscribe('Flarum\Likes\Listeners\AddModelRelationship');
|
||||
|
Loading…
x
Reference in New Issue
Block a user