damn copy&paste, fix wrong var name

This commit is contained in:
Björn Schießle 2013-03-04 12:59:48 +01:00
parent 2a9c3c1660
commit 2a5d9ca9c5

View file

@ -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');
}