From 0e8061c32fcf8f3cc1d5245034406f6d03266779 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 3 Jun 2016 11:01:58 +0930 Subject: [PATCH] Use new event name --- extensions/lock/src/Listener/AddClientAssets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/lock/src/Listener/AddClientAssets.php b/extensions/lock/src/Listener/AddClientAssets.php index d13a323e8..92dc410f9 100755 --- a/extensions/lock/src/Listener/AddClientAssets.php +++ b/extensions/lock/src/Listener/AddClientAssets.php @@ -10,7 +10,7 @@ namespace Flarum\Lock\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([