Skip to content

Commit 10037ee

Browse files
Merge pull request #51 from dennisinteractive/0.48.x-29751_db_import_fix
Case 29751; use DB name from settings.php
2 parents b0de696 + a6b0962 commit 10037ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Command/SiteDbImportCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,9 @@ protected function execute(InputInterface $input, OutputInterface $output) {
169169
}
170170
$command = sprintf(
171171
'cd %s; ' .
172-
'drush sql-create %s -y; ' .
172+
'drush sql-create -y; ' .
173173
'drush sql-cli < %s; ',
174174
$this->destination,
175-
$input->getOption('db-name'),
176175
$this->filename
177176
);
178177
$this->io->comment('Importing dump');

0 commit comments

Comments
 (0)