Skip to content

Commit

Permalink
Merge pull request #48015 from nextcloud/fix/storage-local/get-source…
Browse files Browse the repository at this point in the history
…-path-spl-file-info
  • Loading branch information
provokateurin authored Sep 15, 2024
2 parents 01478f1 + 5bbe535 commit e37a882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function rmdir($path) {
* @var \SplFileInfo $file
*/
$file = $it->current();
clearstatcache(true, $this->getSourcePath($file));
clearstatcache(true, $file->getRealPath());
if (in_array($file->getBasename(), ['.', '..'])) {
$it->next();
continue;
Expand Down

0 comments on commit e37a882

Please sign in to comment.