From 17fa90ab9d018b8cb97282924579d67f255a2168 Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Sat, 28 Mar 2026 15:31:10 +0100 Subject: [PATCH] remove VolunteerRoleUpdated event --- app/Events/VolunteerRoleUpdated.php | 47 ----------------------------- 1 file changed, 47 deletions(-) delete mode 100644 app/Events/VolunteerRoleUpdated.php diff --git a/app/Events/VolunteerRoleUpdated.php b/app/Events/VolunteerRoleUpdated.php deleted file mode 100644 index 690d114..0000000 --- a/app/Events/VolunteerRoleUpdated.php +++ /dev/null @@ -1,47 +0,0 @@ -userId = $userId; - $this->role = $role; - $this->notificationId = $notificationId; - } - - /** - * Get the channels the event should broadcast on. - * - * @return array - */ - public function broadcastOn(): array - { - return [ - new PrivateChannel('user.' . $this->userId), - ]; - } - - public function broadcastAs() - { - return 'volunteer.role.updated'; - } -}