diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-04 12:59:48 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-04 12:59:48 +0100 |
commit | 2a5d9ca9c5767a5e2583b2d12e15b2e2d3731ffd (patch) | |
tree | 5eddcfd701db0678a329042a5bea6af1a5ffcecc /apps/files_versions | |
parent | 2a9c3c166067a71ac11057f345326e7744001441 (diff) | |
download | nextcloud-server-2a5d9ca9c5767a5e2583b2d12e15b2e2d3731ffd.tar.gz nextcloud-server-2a5d9ca9c5767a5e2583b2d12e15b2e2d3731ffd.zip |
damn copy&paste, fix wrong var name
Diffstat (limited to 'apps/files_versions')
-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'); } |