Merge pull request #20269 from owncloud/capabilities-webdav-ng-sync

Add a new core capability which tells the clients which url to use
This commit is contained in:
Thomas Müller 2015-11-03 15:33:07 +01:00
commit 5a25f1c2a0
1 changed files with 2 additions and 1 deletions

View File

@ -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'),
]
];
}