Merge pull request #55295 from nextcloud/backport/55290/stable32

[stable32] fix: Stop infinite loop in ExpireTrash
This commit is contained in:
Andy Scherzinger 2025-09-25 11:34:50 +02:00 committed by GitHub
commit bb94f3bde7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,6 +78,7 @@ class ExpireTrash extends TimedJob {
// If the last batch was not full it means that we reached the end of the user list.
if ($count < self::USER_BATCH_SIZE) {
$this->resetOffset();
break;
}
}
}