From 219995da90309e5b49d1da498aa31c85de5ad75b 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 681b38404b9c6..edd9a26109e87 100644 --- a/apps/dav/lib/Migration/ChunkCleanup.php +++ b/apps/dav/lib/Migration/ChunkCleanup.php @@ -37,6 +37,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();