From 3b0029c4006ddd26f34a955d9bb4397c887df53a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 22 Oct 2024 11:11:24 +0200 Subject: [PATCH] Refactor Livewire/Project/Database/BackupExecutions.php to remove unused code --- app/Livewire/Project/Database/BackupExecutions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Livewire/Project/Database/BackupExecutions.php b/app/Livewire/Project/Database/BackupExecutions.php index c8c33a022..b3a739d63 100644 --- a/app/Livewire/Project/Database/BackupExecutions.php +++ b/app/Livewire/Project/Database/BackupExecutions.php @@ -28,7 +28,6 @@ public function getListeners() return [ "echo-private:team.{$userId},BackupCreated" => 'refreshBackupExecutions', - 'deleteBackup', ]; } @@ -41,7 +40,6 @@ public function cleanupFailed() } } - #[On('deleteBackup')] public function deleteBackup($executionId, $password) { if (! Hash::check($password, Auth::user()->password)) {