Skip to content

Commit d587cff

Browse files
authored
Merge pull request #55310 from nextcloud/backport/55290/stable31
[stable31] fix: Stop infinite loop in ExpireTrash
2 parents e4e193a + 5f70d36 commit d587cff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ protected function run($argument) {
7777
// If the last batch was not full it means that we reached the end of the user list.
7878
if ($count < self::USER_BATCH_SIZE) {
7979
$this->resetOffset();
80+
break;
8081
}
8182
}
8283
}

0 commit comments

Comments
 (0)