summaryrefslogtreecommitdiffstats
path: root/lib/ocs
diff options
context:
space:
mode:
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);
}