Skip to content

Commit 89f0785

Browse files
authored
Merge pull request #21135 from nextcloud/backport/21065/stable19
[stable19] Clear the statscache before fetching the metadata
2 parents d12e379 + 9d2d3c4 commit 89f0785

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/Files/Storage/Local.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public function stat($path) {
156156
*/
157157
public function getMetaData($path) {
158158
$fullPath = $this->getSourcePath($path);
159+
clearstatcache();
159160
$stat = @stat($fullPath);
160161
if (!$stat) {
161162
return null;

0 commit comments

Comments
 (0)