aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/external/storage.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-12 16:15:01 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-14 10:14:08 +0200
commitc8c81061684ccf671b22e48906a0abd04c6898cc (patch)
treee7b91c3fc5add0b494041a9ea4885d5aa55d5f36 /apps/files_sharing/lib/external/storage.php
parentce0aa7d4a895849a90e1ec5ea97bd699a8a4ad3f (diff)
downloadnextcloud-server-c8c81061684ccf671b22e48906a0abd04c6898cc.tar.gz
nextcloud-server-c8c81061684ccf671b22e48906a0abd04c6898cc.zip
generate better storage ids
Diffstat (limited to 'apps/files_sharing/lib/external/storage.php')
-rw-r--r--apps/files_sharing/lib/external/storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php
index 89d2f5e6669..e25777d60e3 100644
--- a/apps/files_sharing/lib/external/storage.php
+++ b/apps/files_sharing/lib/external/storage.php
@@ -82,7 +82,7 @@ class Storage extends DAV implements ISharedStorage {
* @return string
*/
public function getId() {
- return 'shared::' . md5($this->user . '@' . $this->remote);
+ return 'shared::' . md5($this->token . '@' . $this->remote);
}
public function getCache($path = '') {