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');