Skip to content

Commit a8a2ad3

Browse files
Merge pull request #58519 from nextcloud/backport/58466/stable31
2 parents 23b0830 + ee0103c commit a8a2ad3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/private/Files/Cache/Propagator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public function propagateChange($internalPath, $time, $sizeDifference = 0) {
7979
}
8080
}
8181

82+
if ($parents === []) {
83+
return;
84+
}
85+
8286
if ($this->inBatch) {
8387
foreach ($parents as $parent) {
8488
$this->addToBatch($parent, $time, $sizeDifference);

0 commit comments

Comments
 (0)