diff --git a/src/Sql/SqlOracle.php b/src/Sql/SqlOracle.php index 0953361263..f83f9eac0c 100644 --- a/src/Sql/SqlOracle.php +++ b/src/Sql/SqlOracle.php @@ -22,7 +22,7 @@ public function command() return $command; } - public function creds() + public function creds($hide_password = true) { return ' ' . $this->dbSpec['username'] . '/' . $this->dbSpec['password'] . ($this->dbSpec['host'] == 'USETNS' ? '@' . $this->dbSpec['database'] : '@//' . $this->dbSpec['host'] . ':' . ($db_spec['port'] ? $db_spec['port'] : '1521') . '/' . $this->dbSpec['database']); } diff --git a/src/Sql/SqlSqlsrv.php b/src/Sql/SqlSqlsrv.php index 1d660d13b2..05482e2817 100644 --- a/src/Sql/SqlSqlsrv.php +++ b/src/Sql/SqlSqlsrv.php @@ -13,7 +13,7 @@ public function command() return 'sqlcmd'; } - public function creds() + public function creds($hide_password = true) { // Some drush commands (e.g. site-install) want to connect to the // server, but not the database. Connect to the built-in database.