mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Use new listen API
This commit is contained in:
parent
80fb7e86c9
commit
28f9366b6a
@ -1,11 +1,11 @@
|
||||
<?php namespace Flarum\Lock;
|
||||
|
||||
use Flarum\Support\Extension as BaseExtension;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Illuminate\Events\Dispatcher;
|
||||
|
||||
class Extension extends BaseExtension
|
||||
{
|
||||
public function boot(Dispatcher $events)
|
||||
public function listen(Dispatcher $events)
|
||||
{
|
||||
$events->subscribe('Flarum\Lock\Listeners\AddClientAssets');
|
||||
$events->subscribe('Flarum\Lock\Listeners\AddApiAttributes');
|
||||
|
Loading…
x
Reference in New Issue
Block a user