summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-02-27 20:29:49 +0100
committerRobin Appelman <icewind@owncloud.com>2013-02-27 20:29:49 +0100
commitd2fe6007890e6e3680e010e8bbc2346d8bcf7d04 (patch)
treeb50f7b846e8e7588979697b5834022f1d6194ed8 /apps/files_trashbin/lib
parent429bf42e986c27a974571c474590840f304f7e08 (diff)
downloadnextcloud-server-d2fe6007890e6e3680e010e8bbc2346d8bcf7d04.tar.gz
nextcloud-server-d2fe6007890e6e3680e010e8bbc2346d8bcf7d04.zip
Trash: fix trash when default quota is used
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/trash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php
index f0cfa496832..0b8472198d9 100644
--- a/apps/files_trashbin/lib/trash.php
+++ b/apps/files_trashbin/lib/trash.php
@@ -102,7 +102,7 @@ class Trashbin {
// get available disk space for user
$quota = \OC_Preferences::getValue($user, 'files', 'quota');
- if ( $quota === null ) {
+ if ( $quota === null || $quota === 'default') {
$quota = \OC_Appconfig::getValue('files', 'default_quota');
}
if ( $quota === null ) {