summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-18 14:54:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-18 14:54:38 +0100
commita743047e8228fb4973d99e0101dec5e6c39f81b9 (patch)
tree29b3856717f150181f867f530a61c6007388b49c /lib/private/helper.php
parent50e877330700117ace281236ce7ecc1ae0f9521b (diff)
parent6fb60815c581c333106e0fa4845eb25ad6a5223b (diff)
downloadnextcloud-server-a743047e8228fb4973d99e0101dec5e6c39f81b9.tar.gz
nextcloud-server-a743047e8228fb4973d99e0101dec5e6c39f81b9.zip
Merge pull request #21283 from owncloud/cleanup_config
Cleanup OC_Config mess
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index b4a5d8cddf5..b8f9f6ec138 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -657,7 +657,7 @@ class OC_Helper {
*/
public static function getStorageInfo($path, $rootInfo = null) {
// return storage info without adding mount points
- $includeExtStorage = \OC_Config::getValue('quota_include_external_storage', false);
+ $includeExtStorage = \OC::$server->getSystemConfig()->getValue('quota_include_external_storage', false);
if (!$rootInfo) {
$rootInfo = \OC\Files\Filesystem::getFileInfo($path, false);