Trash: fix trash when default quota is used
This commit is contained in:
parent
429bf42e98
commit
d2fe600789
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue