diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-23 11:13:47 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-23 14:52:21 +0100 |
commit | 039397bd3104d92f7957263520eab0ccfb54f869 (patch) | |
tree | bf87c547f087ba08cea035de5a881c35b2f4c9e3 /lib/private/setup/mssql.php | |
parent | c61e9f391273e5f7f4b7aa91ee4174d47402cae9 (diff) | |
download | nextcloud-server-039397bd3104d92f7957263520eab0ccfb54f869.tar.gz nextcloud-server-039397bd3104d92f7957263520eab0ccfb54f869.zip |
Use setConfigs() instead of calling setConfig() multiple times
Diffstat (limited to 'lib/private/setup/mssql.php')
-rw-r--r-- | lib/private/setup/mssql.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/setup/mssql.php b/lib/private/setup/mssql.php index 5143545b76f..f1699c36f96 100644 --- a/lib/private/setup/mssql.php +++ b/lib/private/setup/mssql.php @@ -21,8 +21,10 @@ class MSSQL extends AbstractDatabase { $this->trans->t('You need to enter either an existing account or the administrator.')); } - \OC_Config::setValue('dbuser', $this->dbuser); - \OC_Config::setValue('dbpassword', $this->dbpassword); + \OC_Config::setValues([ + 'dbuser' => $this->dbuser, + 'dbpassword' => $this->dbpassword, + ]); $this->createDBLogin($masterConnection); |