Change strucutre of cloud/capabilities response

This commit is contained in:
Tom Needham 2013-02-09 11:22:29 +00:00
parent 1a6f347405
commit 742cafb03a
1 changed files with 6 additions and 1 deletions

View File

@ -34,7 +34,12 @@ class OC_OCS_Cloud {
'string' => OC_Util::getVersionString(), 'string' => OC_Util::getVersionString(),
'edition' => OC_Util::getEditionString(), 'edition' => OC_Util::getEditionString(),
); );
$result['apps'] = array();
$result['capabilities'] = array(
'core' => array(
'pollinterval' => OC_Config::getValue('pollinterval', 60),
),
);
return new OC_OCS_Result($result); return new OC_OCS_Result($result);
} }