Skip to content

Commit 6434e0b

Browse files
Merge pull request #53 from dennisinteractive/0.44.x-29751_db_import_fix
Case 29751; using DB config in settings.php (0.44.x)
2 parents 61445b2 + d45f229 commit 6434e0b

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
@@ -220,10 +220,9 @@ protected function execute(InputInterface $input, OutputInterface $output) {
220220
}
221221
$command .= sprintf(
222222
'cd %s; ' .
223-
'drush sql-create %s -y; ' .
223+
'drush sql-create -y; ' .
224224
'drush sql-cli < %s; ',
225225
$this->destination,
226-
$input->getOption('db-name'),
227226
$this->filename
228227
);
229228
$this->io->comment('Importing dump');

0 commit comments

Comments
 (0)