aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-15 15:24:22 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-15 15:39:09 +0200
commit5bbe535c27b5b57c1c4e3518a28d2750e1334915 (patch)
tree35401fa532b5104f0115de012a2ba1c1688ecb38
parent01478f1c406cdbed7e5f6a52c0ebed040405ff29 (diff)
downloadnextcloud-server-5bbe535c27b5b57c1c4e3518a28d2750e1334915.tar.gz
nextcloud-server-5bbe535c27b5b57c1c4e3518a28d2750e1334915.zip
fix(Storage\Local): Do not call getSourcePath() on SplFileInfofix/storage-local/get-source-path-spl-file-info
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--lib/private/Files/Storage/Local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index bb07ce3ab29..811a000ad6f 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -106,7 +106,7 @@ class Local extends \OC\Files\Storage\Common {
* @var \SplFileInfo $file
*/
$file = $it->current();
- clearstatcache(true, $this->getSourcePath($file));
+ clearstatcache(true, $file->getRealPath());
if (in_array($file->getBasename(), ['.', '..'])) {
$it->next();
continue;