chore: Remove unnecessary code in DatabaseBackupJob.php

This commit is contained in:
Andras Bacsai
2024-10-01 10:43:04 +02:00
parent 83549965ca
commit e4108863a8

View File

@@ -83,7 +83,6 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueue
try {
// Check if team is exists
if (is_null($this->team)) {
$this->backup->update(['status' => 'failed']);
StopDatabase::run($this->database);
$this->database->delete();