summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-18 18:10:22 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-18 18:10:22 +0100
commit1e84d6b14b56a4df39550b590051c2bfff900a9c (patch)
tree02a9bae807f51544db88868918ae347c78b2fc05 /apps/files_trashbin/lib
parenta573fe7d769f5eea26f52b818eee11779090bb50 (diff)
parent181bbd4325ea2b21ff8ecca93eb5ac839d6a739d (diff)
downloadnextcloud-server-1e84d6b14b56a4df39550b590051c2bfff900a9c.tar.gz
nextcloud-server-1e84d6b14b56a4df39550b590051c2bfff900a9c.zip
Merge pull request #7190 from owncloud/appconfig-legacy-apps
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/trashbin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 9b7d578c990..250cfd54cad 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -722,7 +722,7 @@ class Trashbin {
$quota = \OC_Preferences::getValue($user, 'files', 'quota');
$view = new \OC\Files\View('/' . $user);
if ($quota === null || $quota === 'default') {
- $quota = \OC_Appconfig::getValue('files', 'default_quota');
+ $quota = \OC::$server->getAppConfig()->getValue('files', 'default_quota');
}
if ($quota === null || $quota === 'none') {
$quota = \OC\Files\Filesystem::free_space('/');