From bd62adb9e7b466edeeae68c040d0e7d45baef539 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 8 Apr 2025 09:59:20 +0200 Subject: [PATCH] fix(dav): Really only run the chunk cleanup once Signed-off-by: Joas Schilling --- apps/dav/lib/Migration/ChunkCleanup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dav/lib/Migration/ChunkCleanup.php b/apps/dav/lib/Migration/ChunkCleanup.php index 8a4ad5664a434..bdb3bb7b66da2 100644 --- a/apps/dav/lib/Migration/ChunkCleanup.php +++ b/apps/dav/lib/Migration/ChunkCleanup.php @@ -65,6 +65,7 @@ public function run(IOutput $output) { // If we already ran this onec there is no need to run it again if ($this->config->getAppValue('dav', 'chunks_migrated', '0') === '1') { $output->info('Cleanup not required'); + return; } $output->startProgress();