Skip to content
Snippets Groups Projects
Commit 76e2de2d authored by Robin Appelman's avatar Robin Appelman Committed by Vincent Petry (Rebase PR Action)
Browse files

fix cache key used to verify shared mountpoints


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent ae75427e
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ class SharedMount extends MountPoint implements MoveableMount { ...@@ -103,7 +103,7 @@ class SharedMount extends MountPoint implements MoveableMount {
array $mountpoints, array $mountpoints,
CappedMemoryCache $folderExistCache CappedMemoryCache $folderExistCache
) { ) {
$cacheKey = $this->user->getUID() . '/' . $share->getTarget(); $cacheKey = $this->user->getUID() . '/' . $share->getId();
$cached = $this->cache->get($cacheKey); $cached = $this->cache->get($cacheKey);
if ($cached !== null) { if ($cached !== null) {
return $cached; return $cached;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment