summaryrefslogtreecommitdiffstats
path: root/lib/ocs/cloud.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-12-12 17:35:58 +0000
committerTom Needham <needham.thomas@gmail.com>2012-12-12 17:35:58 +0000
commit2a4b554ca67ba55c75bbff75777285e550dca84f (patch)
tree2a5a91f2ccdea2bcfe3c91f287e9b856c9bd284d /lib/ocs/cloud.php
parent140141edf2c5d89f083b4d254c0533e0209d517b (diff)
downloadnextcloud-server-2a4b554ca67ba55c75bbff75777285e550dca84f.tar.gz
nextcloud-server-2a4b554ca67ba55c75bbff75777285e550dca84f.zip
API: OCS methods now use OC_OCS_Result to return data
Diffstat (limited to 'lib/ocs/cloud.php')
-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 2f2aad714a3..720cc0ade39 100644
--- a/lib/ocs/cloud.php
+++ b/lib/ocs/cloud.php
@@ -13,7 +13,7 @@ class OC_OCS_Cloud {
$values[] = $newvalue;
}
}
- return $values;
+ return new OC_OCS_Result($values);
}
public static function getUserQuota($parameters){
@@ -39,7 +39,7 @@ class OC_OCS_Cloud {
$xml['used']=$used;
$xml['relative']=$relative;
- return $xml;
+ return new OC_OCS_Result($xml);
}else{
return 300;
}