summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-09-17 16:32:24 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-09-17 16:32:24 +0200
commit9da150cd3b12208a0e6b26acd4156215a7df5f3e (patch)
tree8ba3a1cf9adb87d28932729f86fd356ce7e21a94
parentf85b709fae1869f684a4c91067b6a38b4e629163 (diff)
downloadnextcloud-server-9da150cd3b12208a0e6b26acd4156215a7df5f3e.tar.gz
nextcloud-server-9da150cd3b12208a0e6b26acd4156215a7df5f3e.zip
use user name as db name for oracle connection made with service name
-rw-r--r--lib/db.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/db.php b/lib/db.php
index 4d8e5a1a868..9c10512350f 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -232,6 +232,7 @@ class OC_DB {
$dsn['database'] = $name;
} else { // use dbname for hostspec
$dsn['hostspec'] = $name;
+ $dsn['database'] = $user;
}
break;
}