From 10d45c5dd1b195d92a38ad35f3a60f2d994c8529 Mon Sep 17 00:00:00 2001 From: Rico van Zelst Date: Thu, 2 Nov 2023 15:00:37 +0100 Subject: [PATCH] fix: remove unused code --- routes/channels.php | 4 ---- routes/console.php | 6 ------ 2 files changed, 10 deletions(-) diff --git a/routes/channels.php b/routes/channels.php index 5d451e1..409c335 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -12,7 +12,3 @@ use Illuminate\Support\Facades\Broadcast; | used to check if an authenticated user can listen to the channel. | */ - -Broadcast::channel('App.Models.User.{id}', function ($user, $id) { - return (int) $user->id === (int) $id; -}); diff --git a/routes/console.php b/routes/console.php index e05f4c9..b92aaff 100644 --- a/routes/console.php +++ b/routes/console.php @@ -1,7 +1,5 @@ comment(Inspiring::quote()); -})->purpose('Display an inspiring quote');