Change strucutre of cloud/capabilities response
This commit is contained in:
parent
1a6f347405
commit
742cafb03a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue