mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 06:31:41 +08:00
Use new listen API
This commit is contained in:
parent
0cc80224a5
commit
4553dd6a0f
|
@ -5,24 +5,9 @@ use Illuminate\Events\Dispatcher;
|
|||
|
||||
class Extension extends BaseExtension
|
||||
{
|
||||
/**
|
||||
* Bootstrap the application events.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot(Dispatcher $events)
|
||||
public function listen(Dispatcher $events)
|
||||
{
|
||||
$events->subscribe('Flarum\Markdown\Listeners\AddClientAssets');
|
||||
$events->subscribe('Flarum\Markdown\Listeners\AddMarkdownFormatter');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user