aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-15 15:24:22 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-15 14:52:42 +0000
commit789be3c14118ee0847f7fadf6e1d4f99798a65b9 (patch)
tree3b6e946f2b234c386721d6101b4229969689d7d1 /lib
parent9b4637b09a004a78b4c9d8df707a8fb197c77162 (diff)
downloadnextcloud-server-789be3c14118ee0847f7fadf6e1d4f99798a65b9.tar.gz
nextcloud-server-789be3c14118ee0847f7fadf6e1d4f99798a65b9.zip
fix(Storage\Local): Do not call getSourcePath() on SplFileInfobackport/48015/stable29
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib')
-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 2c90a28fe3b..8a8e570d502 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -142,7 +142,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;