mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 01:55:56 -04:00
fix: avoid checking share validity during mount updates
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
This commit is contained in:
parent
987a193a56
commit
e548d71873
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ShareRecipientUpdater {
|
|||
*/
|
||||
public function updateForDeletedShare(IUser $user, IShare $share): void {
|
||||
try {
|
||||
$userShare = $this->shareManager->getShareById($share->getFullId(), $user->getUID());
|
||||
$userShare = $this->shareManager->getShareById($share->getFullId(), $user->getUID(), false);
|
||||
$this->userMountCache->removeMount($this->getMountPointFromTarget($user, $userShare->getTarget()), $user);
|
||||
} catch (ShareNotFound) {
|
||||
// user doesn't actually have access to the share
|
||||
|
|
|
|||
Loading…
Reference in a new issue