Skip to content
Snippets Groups Projects
Commit 42c44d51 authored by Bart Visscher's avatar Bart Visscher
Browse files

Fix OCI setupDatabase parameter

parent bf30e030
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment