Trash: fix trash when default quota is used

This commit is contained in:
Robin Appelman 2013-02-27 20:29:49 +01:00
parent 429bf42e98
commit d2fe600789
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {