Skip to content

Commit 9b11884

Browse files
committed
Make consistent the way we retrive db-su options in SqlBase.
1 parent bc9db03 commit 9b11884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sql/SqlBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public function su()
502502
$create_db_target = $this->getDbSpec();
503503

504504
$create_db_target['database'] = '';
505-
$db_superuser = $this->getConfig()->get('sql.db-su');
505+
$db_superuser = $this->getOption('db-su');
506506
if (!empty($db_superuser)) {
507507
$create_db_target['username'] = $db_superuser;
508508
}

0 commit comments

Comments
 (0)