aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/RepairLegacyStorages.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Repair/RepairLegacyStorages.php')
-rw-r--r--lib/private/Repair/RepairLegacyStorages.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair/RepairLegacyStorages.php b/lib/private/Repair/RepairLegacyStorages.php
index 8bb4eb5017f..228bdb67fe8 100644
--- a/lib/private/Repair/RepairLegacyStorages.php
+++ b/lib/private/Repair/RepairLegacyStorages.php
@@ -245,6 +245,8 @@ class RepairLegacyStorages implements IRepairStep{
$this->connection->commit();
+ Storage::getGlobalCache()->clearCache();
+
if ($hasWarnings) {
$out->warning('Some legacy storages could not be repaired. Please manually fix them then re-run ./occ maintenance:repair');
} else {