mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 13:53:55 -04:00
Trash: fix trash when default quota is used
This commit is contained in:
parent
429bf42e98
commit
d2fe600789
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue