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

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