From: Björn Schießle Date: Mon, 4 Mar 2013 11:59:48 +0000 (+0100) Subject: damn copy&paste, fix wrong var name X-Git-Tag: v5.0.0RC2~15^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a5d9ca9c5767a5e2583b2d12e15b2e2d3731ffd;p=nextcloud-server.git damn copy&paste, fix wrong var name --- 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'); }