Browse Source

fix: Stop infinite loop in ExpireTrash

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
pull/55290/head
Marcel Müller 2 weeks ago
parent
commit
58440bfc67
  1. 1
      apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php

1
apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php

@ -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…
Cancel
Save