diff options
author | Tom Needham <tom@owncloud.com> | 2013-02-09 11:22:29 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2013-02-09 11:22:29 +0000 |
commit | 742cafb03a79fca4f3847bbd16912034f40ccfb1 (patch) | |
tree | 4fa1960df5e02c500c5619209429457b982cfb05 /lib/ocs | |
parent | 1a6f347405d4bbb0df267c41fb4f39a8422a1041 (diff) | |
download | nextcloud-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.php | 7 |
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); } |