Skip to content
Snippets Groups Projects
Commit d2fe6007 authored by Robin Appelman's avatar Robin Appelman
Browse files

Trash: fix trash when default quota is used

parent 429bf42e
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment