summaryrefslogtreecommitdiffstats
path: root/lib/private/setup/sqlite.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-03 14:35:15 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-03 14:35:15 +0100
commitaa0265bd34cdb14baa234832f226ef4da7d1e711 (patch)
tree34fd437efc95b4788eecfe570d84da923ed4aa07 /lib/private/setup/sqlite.php
parent2d1cc8aaebc567cc006d387921c7fbbed35280ce (diff)
downloadnextcloud-server-aa0265bd34cdb14baa234832f226ef4da7d1e711.tar.gz
nextcloud-server-aa0265bd34cdb14baa234832f226ef4da7d1e711.zip
Replace OC_Config in setup
Diffstat (limited to 'lib/private/setup/sqlite.php')
-rw-r--r--lib/private/setup/sqlite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/setup/sqlite.php b/lib/private/setup/sqlite.php
index 820a89d4cff..ce6005620eb 100644
--- a/lib/private/setup/sqlite.php
+++ b/lib/private/setup/sqlite.php
@@ -31,7 +31,7 @@ class Sqlite extends AbstractDatabase {
}
public function setupDatabase($username) {
- $datadir = \OC_Config::getValue('datadirectory');
+ $datadir = \OC::$server->getSystemConfig()->getValue('datadirectory');
//delete the old sqlite database first, might cause infinte loops otherwise
if(file_exists("$datadir/owncloud.db")) {