diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-04 15:59:48 +0400 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-04 15:59:48 +0400 |
commit | 2a5d9ca9c5767a5e2583b2d12e15b2e2d3731ffd (patch) | |
tree | 5eddcfd701db0678a329042a5bea6af1a5ffcecc /apps | |
parent | 2a9c3c166067a71ac11057f345326e7744001441 (diff) |
damn copy&paste, fix wrong var name
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_versions/lib/versions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index d3ebd5ade91..178ef722735 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -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'); } |