summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-07-31 11:10:48 +0200
committerJulius Härtl <jus@bitgrid.net>2020-09-17 19:03:07 +0200
commit14c3f1ebd88389046aa5dbc971fcb2f00f8cd00f (patch)
tree3961c7876d36608fbfdaffdaefe687f37bec0145 /lib/private
parentca2573c99eb74a131ddd008eae87abb77093f526 (diff)
downloadnextcloud-server-14c3f1ebd88389046aa5dbc971fcb2f00f8cd00f.tar.gz
nextcloud-server-14c3f1ebd88389046aa5dbc971fcb2f00f8cd00f.zip
Transfer shares of the transferred root node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/Config/UserMountCache.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php
index 9cf3b43a431..32bfd5a71f3 100644
--- a/lib/private/Files/Config/UserMountCache.php
+++ b/lib/private/Files/Config/UserMountCache.php
@@ -409,4 +409,9 @@ class UserMountCache implements IUserMountCache {
$result->closeCursor();
return $results;
}
+
+ public function clear(): void {
+ $this->cacheInfoCache = new CappedMemoryCache();
+ $this->mountsForUsers = new CappedMemoryCache();
+ }
}