Skip to content

Commit

Permalink
preparing version 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jun 1, 2015
1 parent 5ab77bf commit 43d5256
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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.4.1
- Fixed an issue where the incorrect backup filename would be displayed

###2.4.0
- Add option to enable mysqldump's extended insert

Expand Down
6 changes: 3 additions & 3 deletions src/Commands/BackupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ public function copyFileToFileSystem($file, $fileSystem)

$disk = Storage::disk($fileSystem);

$destBackupFilename = $this->getBackupDestinationFileName();
$backupFilename = $this->getBackupDestinationFileName();

$this->copyFile($file, $disk, $destBackupFilename, $fileSystem == 'local');
$this->copyFile($file, $disk, $backupFilename, $fileSystem == 'local');

$this->comment('Backup stored on '.$fileSystem.'-filesystem in file "'.$destBackupFilename.'"');
$this->comment('Backup stored on '.$fileSystem.'-filesystem in file "'.$backupFilename.'"');
}

/**
Expand Down

0 comments on commit 43d5256

Please sign in to comment.