From 97ed500b90eae7c97f5404a23e797b394e9f74d4 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 b4d5f48897e..6f294c4748d 100644 --- a/apps/dav/lib/Migration/ChunkCleanup.php +++ b/apps/dav/lib/Migration/ChunkCleanup.php @@ -48,6 +48,7 @@ class ChunkCleanup implements IRepairStep { // 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();