summaryrefslogtreecommitdiffstats
path: root/lib/private/setup/mysql.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/setup/mysql.php')
-rw-r--r--lib/private/setup/mysql.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/setup/mysql.php b/lib/private/setup/mysql.php
index 8f8d86d388c..97f75e2f676 100644
--- a/lib/private/setup/mysql.php
+++ b/lib/private/setup/mysql.php
@@ -51,8 +51,10 @@ class MySQL extends AbstractDatabase {
}
};
- \OC_Config::setValue('dbuser', $this->dbuser);
- \OC_Config::setValue('dbpassword', $this->dbpassword);
+ \OC_Config::setValues([
+ 'dbuser' => $this->dbuser,
+ 'dbpassword' => $this->dbpassword,
+ ]);
}
//create the database