From d53571abcf76eec88f890681a70fde43611c7359 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 13 Aug 2015 12:50:44 +0930 Subject: [PATCH] Use new listen API --- extensions/pusher/src/Extension.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/extensions/pusher/src/Extension.php b/extensions/pusher/src/Extension.php index 943431add..639a76eaa 100644 --- a/extensions/pusher/src/Extension.php +++ b/extensions/pusher/src/Extension.php @@ -5,25 +5,10 @@ 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\Pusher\Listeners\AddClientAssets'); $events->subscribe('Flarum\Pusher\Listeners\PushNewPosts'); $events->subscribe('Flarum\Pusher\Listeners\AddApiAttributes'); } - - /** - * Register the service provider. - * - * @return void - */ - public function register() - { - // - } }