diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2025-05-06 15:25:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 15:25:23 +0200 |
commit | 87bad3349646cb153d3aec637f876d1675a7d196 (patch) | |
tree | 3964f3a7cf53166a64f924bd77d2ae2d080da0f0 | |
parent | 206aac5b5bf5f6d67aa104199993c532332bc346 (diff) | |
parent | c1dbc27fd6484d6ddca3da01a0ca0055e86325fa (diff) | |
download | nextcloud-server-87bad3349646cb153d3aec637f876d1675a7d196.tar.gz nextcloud-server-87bad3349646cb153d3aec637f876d1675a7d196.zip |
Merge pull request #52047 from nextcloud/sub-mount-filter-no-storage
-rw-r--r-- | lib/private/Files/View.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index bbad24d3e43..f17ced1611b 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1466,8 +1466,7 @@ class View { public function addSubMounts(FileInfo $info, $extOnly = false): void { $mounts = Filesystem::getMountManager()->findIn($info->getPath()); $info->setSubMounts(array_filter($mounts, function (IMountPoint $mount) use ($extOnly) { - $subStorage = $mount->getStorage(); - return !($extOnly && $subStorage instanceof \OCA\Files_Sharing\SharedStorage); + return !($extOnly && $mount instanceof SharedMount); })); } |