summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-09 17:25:12 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-10-19 00:15:01 +0200
commita7245ea08284568f9a449a11b726048dcec06d4a (patch)
tree59bef83ed9e579f93d0aaf342663b701952177a4 /lib/private/Server.php
parent296a3274cf9fccc5fea1f067bb5cb9cc71450734 (diff)
downloadnextcloud-server-a7245ea08284568f9a449a11b726048dcec06d4a.tar.gz
nextcloud-server-a7245ea08284568f9a449a11b726048dcec06d4a.zip
Fixing ctor call
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 063ff4a3d3b..11558118d52 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -408,7 +408,7 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerService('DatabaseConnection', function (Server $c) {
$systemConfig = $c->getSystemConfig();
- $factory = new \OC\DB\ConnectionFactory($systemConfig);
+ $factory = new \OC\DB\ConnectionFactory($c->getConfig());
$type = $systemConfig->getValue('dbtype', 'sqlite');
if (!$factory->isValidType($type)) {
throw new \OC\DatabaseException('Invalid database type');