Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/ocs
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 02:29:43 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 02:29:43 +0400
commita143e77ee4b1326e10e035c15d7c77e218b4b90c (patch)
treeec1b425dd13149a9e0b4b70c0dfa7e6d27d4fa3e /lib/ocs
parent4a345fd91143296790f79a92f9449a680bebb277 (diff)
removing unused parameter $parameters
fixing undefined variable $useDir
Diffstat (limited to 'lib/ocs')
-rw-r--r--lib/ocs/cloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ocs/cloud.php b/lib/ocs/cloud.php
index 21095ec91e9..da77756822e 100644
--- a/lib/ocs/cloud.php
+++ b/lib/ocs/cloud.php
@@ -24,7 +24,7 @@
class OC_OCS_Cloud {
- public static function getSystemWebApps($parameters) {
+ public static function getSystemWebApps() {
OC_Util::checkLoggedIn();
$apps = OC_App::getEnabledApps();
$values = array();
@@ -45,7 +45,7 @@ class OC_OCS_Cloud {
if(OC_User::userExists($parameters['user'])) {
// calculate the disc space
$userDir = '/'.$parameters['user'].'/files';
- OC_Filesystem::init($useDir);
+ OC_Filesystem::init($userDir);
$rootInfo = OC_FileCache::get('');
$sharedInfo = OC_FileCache::get('/Shared');
$used = $rootInfo['size'] - $sharedInfo['size'];