1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 08:56:38 +02:00

Use new listen API

This commit is contained in:
Toby Zerner
2015-08-13 12:49:07 +09:30
parent ca85d1ebe2
commit 1eb5d79944

View File

@@ -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\Emoji\Listeners\AddClientAssets');
$events->subscribe('Flarum\Emoji\Listeners\AddEmoticons');