Skip to content

Commit bb94f3b

Browse files
Merge pull request #55295 from nextcloud/backport/55290/stable32
[stable32] fix: Stop infinite loop in ExpireTrash
2 parents bd79a28 + b27cbdb commit bb94f3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php

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

0 commit comments

Comments
 (0)