Fix OCI setupDatabase parameter

This commit is contained in:
Bart Visscher 2013-04-10 20:03:54 +02:00
parent bf30e03048
commit 42c44d5165
1 changed files with 2 additions and 2 deletions

View File

@ -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);