summaryrefslogtreecommitdiffstats
path: root/lib/ocs
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2013-02-09 11:22:29 +0000
committerTom Needham <tom@owncloud.com>2013-02-09 11:22:29 +0000
commit742cafb03a79fca4f3847bbd16912034f40ccfb1 (patch)
tree4fa1960df5e02c500c5619209429457b982cfb05 /lib/ocs
parent1a6f347405d4bbb0df267c41fb4f39a8422a1041 (diff)
downloadnextcloud-server-742cafb03a79fca4f3847bbd16912034f40ccfb1.tar.gz
nextcloud-server-742cafb03a79fca4f3847bbd16912034f40ccfb1.zip
Change strucutre of cloud/capabilities response
Diffstat (limited to 'lib/ocs')
-rw-r--r--lib/ocs/cloud.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ocs/cloud.php b/lib/ocs/cloud.php
index 567defa6633..9ae4b4c8ebb 100644
--- a/lib/ocs/cloud.php
+++ b/lib/ocs/cloud.php
@@ -34,7 +34,12 @@ class OC_OCS_Cloud {
'string' => OC_Util::getVersionString(),
'edition' => OC_Util::getEditionString(),
);
- $result['apps'] = array();
+
+ $result['capabilities'] = array(
+ 'core' => array(
+ 'pollinterval' => OC_Config::getValue('pollinterval', 60),
+ ),
+ );
return new OC_OCS_Result($result);
}