diff --git a/src/LaravelEcho/Pusher/Channels/ChannelManager.php b/src/LaravelEcho/Pusher/Channels/ChannelManager.php index 6230311..2b2c46b 100644 --- a/src/LaravelEcho/Pusher/Channels/ChannelManager.php +++ b/src/LaravelEcho/Pusher/Channels/ChannelManager.php @@ -30,10 +30,6 @@ class ChannelManager protected function detectChannelClass($channelId): string { - if (starts_with($channelId, 'logging-')) { - return LoggingChannel::class; - } - if (starts_with($channelId, 'private-')) { return PrivateChannel::class; } diff --git a/src/LaravelEcho/Pusher/Channels/LoggingChannel.php b/src/LaravelEcho/Pusher/Channels/LoggingChannel.php deleted file mode 100644 index f09f23c..0000000 --- a/src/LaravelEcho/Pusher/Channels/LoggingChannel.php +++ /dev/null @@ -1,24 +0,0 @@ -verifySignature($connection, $payload); - - $this->verifyAdministrator($connection); - - parent::subscribe($connection, $payload); - } - - protected function verifyAdministrator(ConnectionInterface $connection) - { - throw_unless($connection->isAdmin, new InvalidConnectionException()); - } -} \ No newline at end of file