From b9283136ba6dc300581477825338a5365ef2e502 Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Sat, 28 Mar 2026 15:34:16 +0100 Subject: [PATCH] remove VolunteerAssignedToTask event --- app/Events/VolunteerAssignedToTask.php | 49 -------------------------- 1 file changed, 49 deletions(-) delete mode 100644 app/Events/VolunteerAssignedToTask.php diff --git a/app/Events/VolunteerAssignedToTask.php b/app/Events/VolunteerAssignedToTask.php deleted file mode 100644 index 0b96aaf..0000000 --- a/app/Events/VolunteerAssignedToTask.php +++ /dev/null @@ -1,49 +0,0 @@ -userId = $userId; - $this->task = $task; - $this->event = $event; - $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.assigned.to.task'; - } -}