chore: Remove unnecessary code in DatabaseBackupJob.php
This commit is contained in:
@@ -83,7 +83,6 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
try {
|
try {
|
||||||
// Check if team is exists
|
// Check if team is exists
|
||||||
if (is_null($this->team)) {
|
if (is_null($this->team)) {
|
||||||
$this->backup->update(['status' => 'failed']);
|
|
||||||
StopDatabase::run($this->database);
|
StopDatabase::run($this->database);
|
||||||
$this->database->delete();
|
$this->database->delete();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user