mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
commit
d4ea381040
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ class Storage {
|
|||
$versions_fileview = new \OC\Files\View('/'.$uid.'/files_versions');
|
||||
|
||||
// get available disk space for user
|
||||
$quota = \OC_Preferences::getValue($user, 'files', 'quota');
|
||||
$quota = \OC_Preferences::getValue($uid, 'files', 'quota');
|
||||
if ( $quota === null || $quota === 'default') {
|
||||
$quota = \OC_Appconfig::getValue('files', 'default_quota');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue