[Pkg-owncloud-commits] [owncloud] 123/223: generate better storage ids

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit c8c81061684ccf671b22e48906a0abd04c6898cc
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Jun 12 16:15:01 2014 +0200

    generate better storage ids
---
 apps/files_sharing/lib/external/storage.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php
index 89d2f5e..e25777d 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 = '') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list