summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-03 15:33:07 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-03 15:33:07 +0100
commit5a25f1c2a0b77e42db6881a3c5c5ca49fb39b563 (patch)
tree162ee931a6945bb140dbdee6ee31c74ea165264c
parenta8daef4280a4991c604b25d79ff603990b0cb4ab (diff)
parentb2a437ffffb2c6d41cc146cb5f645449df91e735 (diff)
downloadnextcloud-server-5a25f1c2a0b77e42db6881a3c5c5ca49fb39b563.tar.gz
nextcloud-server-5a25f1c2a0b77e42db6881a3c5c5ca49fb39b563.zip
Merge pull request #20269 from owncloud/capabilities-webdav-ng-sync
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'),
]
];
}