From 6e1be06e9785fc1b042b9c3f90187f090ebb9810 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Sun, 15 Sep 2024 15:24:22 +0200 Subject: [PATCH] fix(Storage\Local): Do not call getSourcePath() on SplFileInfo Signed-off-by: provokateurin --- lib/private/Files/Storage/Local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 2ae22d33d2e94..19e977c43f833 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -142,7 +142,7 @@ public function rmdir($path) { * @var \SplFileInfo $file */ $file = $it->current(); - clearstatcache(true, $this->getSourcePath($file)); + clearstatcache(true, $file->getRealPath()); if (in_array($file->getBasename(), ['.', '..'])) { $it->next(); continue;