From c68fe20ac448b9f556a60bb7af36071f6e611904 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 26 Apr 2022 14:52:37 +0200 Subject: 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 --- lib/private/Cache/File.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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'); } -- cgit v1.2.3