diff --git a/appinfo/info.xml b/appinfo/info.xml index 2c30aca..2b557d1 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -14,6 +14,6 @@ auth - + diff --git a/lib/helper.php b/lib/helper.php index e6d6d23..47cdf44 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -225,7 +225,7 @@ class Helper { public function connectToDb($settings) { $this -> settings = $settings; - $cm = new \OC\DB\ConnectionFactory(\OC::$server->getConfig()); + $cm = new \OC\DB\ConnectionFactory(\OC::$server->getSystemConfig()); $parameters = array('host' => $this -> settings['sql_hostname'], 'password' => $this -> settings['sql_password'], 'user' => $this -> settings['sql_username'],