summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-06-14 11:28:33 +0300
committerMorris Jobke <morris.jobke@gmail.com>2013-06-14 11:28:33 +0300
commit7093b0829f5f603e8ff1de7d5130130d34b6be9a (patch)
treecddafc9c1a4f433ff65abe2c8af39904828f24cc
parente33f68ecb6574d0d4675f5989283b08355f9e64c (diff)
downloadnextcloud-server-7093b0829f5f603e8ff1de7d5130130d34b6be9a.tar.gz
nextcloud-server-7093b0829f5f603e8ff1de7d5130130d34b6be9a.zip
improve comment
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index d7ceb36ae95..1cbc83eed9a 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -320,7 +320,7 @@ class OC_Setup {
$connection_string = "host='$e_host' dbname=postgres user='$e_user' password='$e_password'";
$connection = @pg_connect($connection_string);
if(!$connection) {
- // Try if we can't connect with the specified DB name
+ // Try if we can connect to the DB with the specified name
$e_dbname = addslashes($dbname);
$connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' password='$e_password'";
$connection = @pg_connect($connection_string);