aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-04-26 14:52:37 +0200
committerRobin Appelman <robin@icewind.nl>2024-03-06 17:52:23 +0100
commitc68fe20ac448b9f556a60bb7af36071f6e611904 (patch)
tree69ddaf168a298f00b4020c1c38c1a439c0b3c2e4 /lib/private
parent476c400c2df213174c47abbbccab2413e5394955 (diff)
downloadnextcloud-server-c68fe20ac448b9f556a60bb7af36071f6e611904.tar.gz
nextcloud-server-c68fe20ac448b9f556a60bb7af36071f6e611904.zip
perf: don't perform an explicit setup when using the file cache
the automated partial setup does it's job already Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Cache/File.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php
index 74e795cc377..ecff643ed63 100644
--- a/lib/private/Cache/File.php
+++ b/lib/private/Cache/File.php
@@ -29,7 +29,6 @@
*/
namespace OC\Cache;
-use OC\Files\Filesystem;
use OC\Files\View;
use OCP\ICache;
use OCP\Security\ISecureRandom;
@@ -53,7 +52,6 @@ class File implements ICache {
if (\OC::$server->getUserSession()->isLoggedIn()) {
$rootView = new View();
$user = \OC::$server->getUserSession()->getUser();
- Filesystem::initMountPoints($user->getUID());
if (!$rootView->file_exists('/' . $user->getUID() . '/cache')) {
$rootView->mkdir('/' . $user->getUID() . '/cache');
}