Skip to content

Commit e37a882

Browse files
Merge pull request #48015 from nextcloud/fix/storage-local/get-source-path-spl-file-info
2 parents 01478f1 + 5bbe535 commit e37a882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Storage/Local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function rmdir($path) {
106106
* @var \SplFileInfo $file
107107
*/
108108
$file = $it->current();
109-
clearstatcache(true, $this->getSourcePath($file));
109+
clearstatcache(true, $file->getRealPath());
110110
if (in_array($file->getBasename(), ['.', '..'])) {
111111
$it->next();
112112
continue;

0 commit comments

Comments
 (0)