From: Bart Visscher Date: Wed, 10 Apr 2013 18:03:54 +0000 (+0200) Subject: Fix OCI setupDatabase parameter X-Git-Tag: v6.0.0alpha2~564^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=42c44d516568b6a2bea33bcd59dd81cb0654569b;p=nextcloud-server.git Fix OCI setupDatabase parameter --- 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);