summaryrefslogtreecommitdiffstats
path: root/lib/setup
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-04-10 20:03:54 +0200
committerBart Visscher <bartv@thisnet.nl>2013-06-29 21:15:06 +0200
commit42c44d516568b6a2bea33bcd59dd81cb0654569b (patch)
treebf18881668f074225e901f624cc4b0524a2d7415 /lib/setup
parentbf30e030488a42763c2c8981c969439bb66df91a (diff)
downloadnextcloud-server-42c44d516568b6a2bea33bcd59dd81cb0654569b.tar.gz
nextcloud-server-42c44d516568b6a2bea33bcd59dd81cb0654569b.zip
Fix OCI setupDatabase parameter
Diffstat (limited to 'lib/setup')
-rw-r--r--lib/setup/oci.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setup/oci.php b/lib/setup/oci.php
index a3e2ccc8da7..56452c65a59 100644
--- a/lib/setup/oci.php
+++ b/lib/setup/oci.php
@@ -17,7 +17,7 @@ class OCI extends AbstractDatabase {
\OC_Config::setValue('dbtablespace', $this->dbtablespace);
}
- public function setupDatabase($dbtablespace, $username) {
+ public function setupDatabase($username) {
$e_host = addslashes($this->dbhost);
$e_dbname = addslashes($this->dbname);
//check if the database user has admin right
@@ -72,7 +72,7 @@ class OCI extends AbstractDatabase {
// needs to be shortened to 30 bytes, as the two " needed to escape the identifier count towards the identifier length.
$this->dbpassword=substr($this->dbpassword, 0, 30);
- $this->createDBUser($dbtablespace, $connection);
+ $this->createDBUser($this->dbtablespace, $connection);
\OC_Config::setValue('dbuser', $this->dbusername);
\OC_Config::setValue('dbname', $this->dbusername);