From b50d3c539e0f95877cf7d72b884b151aee562c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Wed, 24 Sep 2025 21:41:10 +0200 Subject: [PATCH] fix: Stop infinite loop in ExpireTrash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php index 8d3dad4a17a02..bbdf0b899bdd6 100644 --- a/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php +++ b/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php @@ -78,6 +78,7 @@ protected function run($argument) { // 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; } } }