Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Vidal committed Aug 23, 2016
1 parent 4c62ee1 commit 86ea431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/MysqlRestore.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ protected function setFilename($input, $output)
} else {
$selectedFiles = [];
foreach ($this->backupFileNames as $index => $backupFileName) {
if (ends_with($backupFileName, '_' . $this->connection['database'] . '.sql') || ends_with($backupFileName, '_' . $this->connection['database'] . 'sql.gz')) {
if (ends_with($backupFileName, '_' . $this->connection['database'] . '.sql') || ends_with($backupFileName, '_' . $this->connection['database'] . '.sql.gz')) {
array_push($this->backupFileAlternatives, $backupFileName);
array_push($selectedFiles, $this->backupFiles[$index]);
}
Expand Down

0 comments on commit 86ea431

Please sign in to comment.