Commit 4e225cb1 authored by Thomas Müller's avatar Thomas Müller Committed by Thomas Müller
Browse files

Fixing ctor call

parent 65d14d49
......@@ -121,7 +121,8 @@ class MySQL extends AbstractDatabase {
$connectionParams['host'] = $host;
$cf = new ConnectionFactory();
$systemConfig = \OC::$server->getSystemConfig();
$cf = new ConnectionFactory($systemConfig);
return $cf->getConnection('mysql', $connectionParams);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment