fixing variable name type
This commit is contained in:
parent
c975f0f63d
commit
8b9cabf514
|
@ -59,7 +59,7 @@ class OC_OCS_Cloud {
|
||||||
if(OC_User::userExists($parameters['user'])) {
|
if(OC_User::userExists($parameters['user'])) {
|
||||||
// calculate the disc space
|
// calculate the disc space
|
||||||
$userDir = '/'.$parameters['user'].'/files';
|
$userDir = '/'.$parameters['user'].'/files';
|
||||||
\OC\Files\Filesystem::init($useDir);
|
\OC\Files\Filesystem::init($userDir);
|
||||||
$rootInfo = \OC\Files\Filesystem::getFileInfo('');
|
$rootInfo = \OC\Files\Filesystem::getFileInfo('');
|
||||||
$sharedInfo = \OC\Files\Filesystem::getFileInfo('/Shared');
|
$sharedInfo = \OC\Files\Filesystem::getFileInfo('/Shared');
|
||||||
$used = $rootInfo['size'] - $sharedInfo['size'];
|
$used = $rootInfo['size'] - $sharedInfo['size'];
|
||||||
|
|
Loading…
Reference in New Issue