summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-03 14:27:36 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-03 14:27:36 +0100
commitb2a437ffffb2c6d41cc146cb5f645449df91e735 (patch)
tree7f3be3be872765208d035fa0e93ba1436ceaab0d
parentb0c456c0fcbb4ba911732e2dd014527d8669954d (diff)
downloadnextcloud-server-b2a437ffffb2c6d41cc146cb5f645449df91e735.tar.gz
nextcloud-server-b2a437ffffb2c6d41cc146cb5f645449df91e735.zip
Add a new core capability which tells the clients which url to use
-rw-r--r--lib/private/ocs/corecapabilities.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/ocs/corecapabilities.php b/lib/private/ocs/corecapabilities.php
index 0fba7bfd7d7..f2d530a8419 100644
--- a/lib/private/ocs/corecapabilities.php
+++ b/lib/private/ocs/corecapabilities.php
@@ -49,7 +49,8 @@ class CoreCapabilities implements ICapability {
public function getCapabilities() {
return [
'core' => [
- 'pollinterval' => $this->config->getSystemValue('pollinterval', 60)
+ 'pollinterval' => $this->config->getSystemValue('pollinterval', 60),
+ 'webdav-root' => $this->config->getSystemValue('webdav-root', 'remote.php/webdav'),
]
];
}