Refactor Livewire/Project/Database/BackupExecutions.php to remove unused code

This commit is contained in:
Andras Bacsai
2024-10-22 11:11:24 +02:00
parent 388929be30
commit 3b0029c400

View File

@@ -28,7 +28,6 @@ class BackupExecutions extends Component
return [
"echo-private:team.{$userId},BackupCreated" => 'refreshBackupExecutions',
'deleteBackup',
];
}
@@ -41,7 +40,6 @@ class BackupExecutions extends Component
}
}
#[On('deleteBackup')]
public function deleteBackup($executionId, $password)
{
if (! Hash::check($password, Auth::user()->password)) {