aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
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:51:49 +0000
commit6e1be06e9785fc1b042b9c3f90187f090ebb9810 (patch)
treeae335fdcbe8fc450c82f5a30fcda3ff34d73b7ab /lib/private
parent124b565c33e81f7a0c01a2ec62542e4eda21ef35 (diff)
downloadnextcloud-server-6e1be06e9785fc1b042b9c3f90187f090ebb9810.tar.gz
nextcloud-server-6e1be06e9785fc1b042b9c3f90187f090ebb9810.zip
fix(Storage\Local): Do not call getSourcePath() on SplFileInfobackport/48015/stable28
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private')
-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;