diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-11 23:06:57 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-11 23:06:57 +0200 |
commit | 542869114ad67295d61450e637b15a1f4d3ae209 (patch) | |
tree | 69ecc25a69871ab995d996c08f64c7a5752d176b /apps/files_external/lib/smb.php | |
parent | fb2d2bc2011c371ff1e4334f84494f15a84a07a2 (diff) | |
download | nextcloud-server-542869114ad67295d61450e637b15a1f4d3ae209.tar.gz nextcloud-server-542869114ad67295d61450e637b15a1f4d3ae209.zip |
implement getId for the external storage providers
Diffstat (limited to 'apps/files_external/lib/smb.php')
-rw-r--r-- | apps/files_external/lib/smb.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php index 8fcdd1f722f..71c7a91ec93 100644 --- a/apps/files_external/lib/smb.php +++ b/apps/files_external/lib/smb.php @@ -42,6 +42,10 @@ class SMB extends \OC\Files\Storage\StreamWrapper{ } } + public function getId(){ + return 'smb::' . $this->user . '@' . $this->host . '/' . $this->share . '/' . $this->root; + } + public function constructUrl($path) { if(substr($path,-1)=='/') { $path=substr($path,0,-1); |