summaryrefslogtreecommitdiffstats
path: root/lib/ocs
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-02-11 11:06:09 +0100
committerRobin Appelman <icewind@owncloud.com>2013-02-11 11:06:09 +0100
commitad360296b940c20b57da9316b079497e0c1c1256 (patch)
tree3ee6625215099b265a5c2bfbfee1a4ee523616a4 /lib/ocs
parentd7d9e2a15a4039d6fbb272a63b17ee9cbd01bf51 (diff)
downloadnextcloud-server-ad360296b940c20b57da9316b079497e0c1c1256.tar.gz
nextcloud-server-ad360296b940c20b57da9316b079497e0c1c1256.zip
Update tests and apps to the new \OC\Files\Filesystem::init signature
Diffstat (limited to 'lib/ocs')
-rw-r--r--lib/ocs/cloud.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ocs/cloud.php b/lib/ocs/cloud.php
index 179ed8f3107..820d24a8e0c 100644
--- a/lib/ocs/cloud.php
+++ b/lib/ocs/cloud.php
@@ -45,7 +45,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($parameters['user'], $userDir);
$rootInfo = \OC\Files\Filesystem::getFileInfo('');
$sharedInfo = \OC\Files\Filesystem::getFileInfo('/Shared');
$used = $rootInfo['size'] - $sharedInfo['size'];