mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 12:33:22 +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…
Reference in New Issue
Block a user