aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2025-04-08 23:02:08 +0200
committerGitHub <noreply@github.com>2025-04-08 23:02:08 +0200
commit86981bf05dbef96cd07fb8fb501bb553729c7e86 (patch)
tree4d68ad0c330ed22e68f2ce4e5d47f86151d70476
parentdd32639fa9f330df8b198b42599468b09b78e87c (diff)
parenta8be6314ae27f383cce7722aaf17831f3734fe0d (diff)
downloadnextcloud-server-86981bf05dbef96cd07fb8fb501bb553729c7e86.tar.gz
nextcloud-server-86981bf05dbef96cd07fb8fb501bb553729c7e86.zip
Merge pull request #52019 from nextcloud/bugfix/noid/only-check-to-cleanup-chunks-once
fix(dav): Really only run the chunk cleanup once
-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();