diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-15 15:24:22 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-15 14:52:42 +0000 |
commit | 789be3c14118ee0847f7fadf6e1d4f99798a65b9 (patch) | |
tree | 3b6e946f2b234c386721d6101b4229969689d7d1 /lib | |
parent | 9b4637b09a004a78b4c9d8df707a8fb197c77162 (diff) | |
download | nextcloud-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.php | 2 |
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; |