From b6545a5f8e8f97a9dce6172225791b2f94e3526d Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 3 Jun 2016 11:01:31 +0930 Subject: [PATCH] Use new event name --- extensions/flags/src/Listener/AddClientAssets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/flags/src/Listener/AddClientAssets.php b/extensions/flags/src/Listener/AddClientAssets.php index 2ff6a4cab..c6ef7e2fe 100644 --- a/extensions/flags/src/Listener/AddClientAssets.php +++ b/extensions/flags/src/Listener/AddClientAssets.php @@ -10,7 +10,7 @@ namespace Flarum\Flags\Listener; -use Flarum\Event\ConfigureClientView; +use Flarum\Event\ConfigureWebApp; use Illuminate\Contracts\Events\Dispatcher; class AddClientAssets @@ -20,13 +20,13 @@ class AddClientAssets */ public function subscribe(Dispatcher $events) { - $events->listen(ConfigureClientView::class, [$this, 'addAssets']); + $events->listen(ConfigureWebApp::class, [$this, 'addAssets']); } /** * @param ConfigureClientView $event */ - public function addAssets(ConfigureClientView $event) + public function addAssets(ConfigureWebApp $event) { if ($event->isForum()) { $event->addAssets([