summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-18 18:31:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-18 18:31:33 +0100
commitc6f4f85e27a10459422ab9789c894d13f0cd34c7 (patch)
tree6b4cf7a304242c5891952b428b3bca950924f309 /apps/files_trashbin
parent9fac95c2ab46a734607657bbad6f164aaa61286f (diff)
parent8991e4505adba2dae8afe7b7941ec744bfe78712 (diff)
downloadnextcloud-server-c6f4f85e27a10459422ab9789c894d13f0cd34c7.tar.gz
nextcloud-server-c6f4f85e27a10459422ab9789c894d13f0cd34c7.zip
Merge branch 'master' into scrutinizer_documentation_patches
Conflicts: lib/private/migration/content.php
Diffstat (limited to 'apps/files_trashbin')
-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 56ab2e72c7b..bc77e9c1543 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -733,7 +733,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('/');