diff options
Diffstat (limited to 'lib/private/setup/postgresql.php')
-rw-r--r-- | lib/private/setup/postgresql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/setup/postgresql.php b/lib/private/setup/postgresql.php index 6065cee80c8..4d0c9b52a4d 100644 --- a/lib/private/setup/postgresql.php +++ b/lib/private/setup/postgresql.php @@ -23,7 +23,7 @@ class PostgreSQL extends AbstractDatabase { if(!$connection) { // Try if we can connect to the DB with the specified name $e_dbname = addslashes($this->dbname); - $connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' port='$port' password='$e_password'"; + $connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' port='$port' password='$e_password'"; $connection = @pg_connect($connection_string); if(!$connection) @@ -77,7 +77,7 @@ class PostgreSQL extends AbstractDatabase { $port=false; } - $connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' port='$port' password='$e_password'"; + $connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' port='$port' password='$e_password'"; $connection = @pg_connect($connection_string); if(!$connection) { throw new \DatabaseSetupException($this->trans->t('PostgreSQL username and/or password not valid'), |