summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/webdav.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-11 23:06:57 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-11 23:06:57 +0200
commit542869114ad67295d61450e637b15a1f4d3ae209 (patch)
tree69ecc25a69871ab995d996c08f64c7a5752d176b /apps/files_external/lib/webdav.php
parentfb2d2bc2011c371ff1e4334f84494f15a84a07a2 (diff)
downloadnextcloud-server-542869114ad67295d61450e637b15a1f4d3ae209.tar.gz
nextcloud-server-542869114ad67295d61450e637b15a1f4d3ae209.zip
implement getId for the external storage providers
Diffstat (limited to 'apps/files_external/lib/webdav.php')
-rw-r--r--apps/files_external/lib/webdav.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 7c61d06a018..6ed93e9035b 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -56,6 +56,10 @@ class DAV extends \OC\Files\Storage\Common{
$this->mkdir('');
}
+ public function getId(){
+ return 'webdav::' . $this->user . '@' . $this->host . '/' . $this->root;
+ }
+
private function createBaseUri() {
$baseUri='http';
if($this->secure) {