aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-09-15 21:58:55 +0200
committerGitHub <noreply@github.com>2024-09-15 21:58:55 +0200
commitf00b0675d207adf7043ea4d72e7d8f7eceb5f8ee (patch)
tree09326a9f4e1a8e050604e3ffe9a64ded74b531b4
parentbe55dc1e93f92e653a91a370b077d2df53ec07ce (diff)
parent6e1be06e9785fc1b042b9c3f90187f090ebb9810 (diff)
downloadnextcloud-server-f00b0675d207adf7043ea4d72e7d8f7eceb5f8ee.tar.gz
nextcloud-server-f00b0675d207adf7043ea4d72e7d8f7eceb5f8ee.zip
Merge pull request #48019 from nextcloud/backport/48015/stable28
-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 2ae22d33d2e..19e977c43f8 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;