diff --git a/CHANGELOG.md b/CHANGELOG.md index ca09e26c..7059c26d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All Notable changes to `laravel-backup` will be documented in this file +###2.8.3 +- Further improve the clean up of temporary files. + ###2.8.2 - Improve the clean up of temporary files. diff --git a/src/Commands/BackupCommand.php b/src/Commands/BackupCommand.php index ebb73a4d..009dae6c 100644 --- a/src/Commands/BackupCommand.php +++ b/src/Commands/BackupCommand.php @@ -270,7 +270,7 @@ protected function getDatabaseDump() $this->comment('Database dumped'); - $dbDumpFile = $databaseBackupHandler->getFilesToBeBackedUp()[0]; + $dbDumpFile = $filesToBeBackedUp[0]; $this->temporaryFiles[] = $dbDumpFile;