]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix OCI setupDatabase parameter
authorBart Visscher <bartv@thisnet.nl>
Wed, 10 Apr 2013 18:03:54 +0000 (20:03 +0200)
committerBart Visscher <bartv@thisnet.nl>
Sat, 29 Jun 2013 19:15:06 +0000 (21:15 +0200)
lib/setup/oci.php

index a3e2ccc8da7cc37db04113265950c18327676b41..56452c65a59669630de8d9ac9d7c20f17382d58c 100644 (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);