aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Config
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-28 15:39:01 +0200
committerRobin Appelman <robin@icewind.nl>2024-03-06 17:52:24 +0100
commit4fba4cd14ce78e3e0af64a97485a02e47640a144 (patch)
treed82e8508af958ac1702c5cfa00eaa32f33df38e5 /lib/private/Files/Config
parentaf466a0d3ac20a2b459fcc2051525297633ea7e9 (diff)
downloadnextcloud-server-4fba4cd14ce78e3e0af64a97485a02e47640a144.tar.gz
nextcloud-server-4fba4cd14ce78e3e0af64a97485a02e47640a144.zip
fix: fix user folder init
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Config')
-rw-r--r--lib/private/Files/Config/UserMountCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php
index 27d84e93838..13908c8725e 100644
--- a/lib/private/Files/Config/UserMountCache.php
+++ b/lib/private/Files/Config/UserMountCache.php
@@ -94,7 +94,7 @@ class UserMountCache implements IUserMountCache {
$cachedMounts = $this->getMountsForUser($user);
if (is_array($mountProviderClasses)) {
- $cachedMounts = array_filter($cachedMounts, function (ICachedMountInfo $mountInfo) use ($mountProviderClasses, $newMounts) {
+ $cachedMounts = array_filter($cachedMounts, function (ICachedMountInfo $mountInfo) use ($mountProviderClasses, $newMounts): bool {
// for existing mounts that didn't have a mount provider set
// we still want the ones that map to new mounts
if ($mountInfo->getMountProvider() === '' && isset($newMounts[$mountInfo->getKey()])) {