aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-04-08 09:59:20 +0200
committerJoas Schilling <coding@schilljs.com>2025-04-08 09:59:20 +0200
commita8be6314ae27f383cce7722aaf17831f3734fe0d (patch)
treeb0c1913691f59520ec5b480e127e6fbf6fc05138
parentae0bb4eaa210381ae55fe347ddccac0747a5b67d (diff)
downloadnextcloud-server-bugfix/noid/only-check-to-cleanup-chunks-once.tar.gz
nextcloud-server-bugfix/noid/only-check-to-cleanup-chunks-once.zip
fix(dav): Really only run the chunk cleanup oncebugfix/noid/only-check-to-cleanup-chunks-once
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/dav/lib/Migration/ChunkCleanup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/ChunkCleanup.php b/apps/dav/lib/Migration/ChunkCleanup.php
index 681b38404b9..edd9a26109e 100644
--- a/apps/dav/lib/Migration/ChunkCleanup.php
+++ b/apps/dav/lib/Migration/ChunkCleanup.php
@@ -37,6 +37,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();