mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix: Stop infinite loop in ExpireTrash
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
parent
c56343bdab
commit
58440bfc67
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue