aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/ocs/cloud.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/ocs/cloud.php')
-rw-r--r--lib/private/ocs/cloud.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/private/ocs/cloud.php b/lib/private/ocs/cloud.php
index ff6b7977cd9..8f4f1769e9c 100644
--- a/lib/private/ocs/cloud.php
+++ b/lib/private/ocs/cloud.php
@@ -37,14 +37,7 @@ class OC_OCS_Cloud {
'edition' => OC_Util::getEditionString(),
);
- $result['capabilities'] = array(
- 'core' => array(
- 'pollinterval' => OC_Config::getValue('pollinterval', 60),
- ),
- );
-
-
- $result['capabilities'] = array_merge_recursive($result['capabilities'], \OC::$server->getCapabilitiesManager()->getCapabilities());
+ $result['capabilities'] = \OC::$server->getCapabilitiesManager()->getCapabilities();
return new OC_OCS_Result($result);
}