summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-05-28 17:34:57 +0200
committerkondou <kondou@ts.unde.re>2013-05-28 17:34:57 +0200
commit1d799f22c1a8cec5a8dd45a0fdd182c011a6f5f0 (patch)
tree62aa24cdfc33aabd6dff1281b73624c25fa41a9c
parentc6dbb33e1562ad1748feb3cb931ea5016520b867 (diff)
downloadnextcloud-server-1d799f22c1a8cec5a8dd45a0fdd182c011a6f5f0.tar.gz
nextcloud-server-1d799f22c1a8cec5a8dd45a0fdd182c011a6f5f0.zip
Default to localhost, if nothing is entered.
-rw-r--r--lib/setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 7082f0b2afd..b0af0620527 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -61,7 +61,7 @@ class OC_Setup {
$error[] = $l->t("%s you may not use dots in the database name", array($dbprettyname));
}
if($dbtype != 'oci' && empty($options['dbhost'])) {
- $error[] = $l->t("%s set the database host.", array($dbprettyname));
+ $options['dbhost'] = 'localhost';
}
}