fix: undefined variable
This commit is contained in:
@@ -67,6 +67,8 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
public function handle(): void
|
public function handle(): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
$databasesToBackup = null;
|
||||||
|
|
||||||
$this->team = Team::find($this->backup->team_id);
|
$this->team = Team::find($this->backup->team_id);
|
||||||
if (! $this->team) {
|
if (! $this->team) {
|
||||||
$this->backup->delete();
|
$this->backup->delete();
|
||||||
|
Reference in New Issue
Block a user