Skip to content

Commit

Permalink
fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Nov 23, 2015
1 parent f025a47 commit 54f974b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/BackupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ protected function getDatabaseDump()

$this->comment('Database dumped');

$dbDumpFile = $databaseBackupHandler->getFilesToBeBackedUp()[0];
$dbDumpFile = $filesToBeBackedUp[0];

$this->temporaryFiles[] = $dbDumpFile;

Expand Down

0 comments on commit 54f974b

Please sign in to comment.