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 @@ 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)) {