fixing variable name type

This commit is contained in:
Thomas Mueller 2013-01-31 23:45:37 +01:00
parent c975f0f63d
commit 8b9cabf514
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class OC_OCS_Cloud {
if(OC_User::userExists($parameters['user'])) {
// calculate the disc space
$userDir = '/'.$parameters['user'].'/files';
\OC\Files\Filesystem::init($useDir);
\OC\Files\Filesystem::init($userDir);
$rootInfo = \OC\Files\Filesystem::getFileInfo('');
$sharedInfo = \OC\Files\Filesystem::getFileInfo('/Shared');
$used = $rootInfo['size'] - $sharedInfo['size'];