diff options
author | Robin Appelman <robin@icewind.nl> | 2023-01-09 13:48:44 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-01-09 13:48:44 +0100 |
commit | 927174e325b9a535e85ea195ca2d99e38790fd93 (patch) | |
tree | 3a5b20c29d65f7a31ee4c41e58463bd89d5bd8fa /apps/files_sharing/lib | |
parent | adef2b85c8c8f771d694dedec2c8509694aee149 (diff) | |
download | nextcloud-server-927174e325b9a535e85ea195ca2d99e38790fd93.tar.gz nextcloud-server-927174e325b9a535e85ea195ca2d99e38790fd93.zip |
fix cache key used to verify shared mountpoints
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/SharedMount.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 676e253344f..46749558146 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -104,7 +104,7 @@ class SharedMount extends MountPoint implements MoveableMount { array $mountpoints, CappedMemoryCache $folderExistCache ) { - $cacheKey = $this->user->getUID() . '/' . $share->getTarget(); + $cacheKey = $this->user->getUID() . '/' . $share->getId(); $cached = $this->cache->get($cacheKey); if ($cached !== null) { return $cached; |