summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-14 11:57:26 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-14 16:49:25 +0100
commita22068cce3c0681e51e02965a03e2372518cd172 (patch)
treea666eea5714cf11368f9b211e996a41ad0727061 /lib/private/repair.php
parent65ee2b1de88e490672067257a6a704a697d71e1e (diff)
downloadnextcloud-server-a22068cce3c0681e51e02965a03e2372518cd172.tar.gz
nextcloud-server-a22068cce3c0681e51e02965a03e2372518cd172.zip
Add a repair step to clean up orphan tags and tag entries
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r--lib/private/repair.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php
index c4f057b53ae..d9fd99707e8 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -11,6 +11,7 @@ namespace OC;
use OC\Hooks\BasicEmitter;
use OC\Hooks\Emitter;
use OC\Repair\AssetCache;
+use OC\Repair\CleanTags;
use OC\Repair\Collation;
use OC\Repair\FillETags;
use OC\Repair\InnoDB;
@@ -81,7 +82,8 @@ class Repair extends BasicEmitter {
new RepairLegacyStorages(\OC::$server->getConfig(), \OC_DB::getConnection()),
new RepairConfig(),
new AssetCache(),
- new FillETags(\OC_DB::getConnection())
+ new FillETags(\OC_DB::getConnection()),
+ new CleanTags(\OC_DB::getConnection()),
);
}