summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-05-12 18:19:44 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-05-12 18:19:44 +0200
commitd6becb8d828aef0b06df3de51fe9bb0d9710801d (patch)
tree91ecae45f9ee3d5fe7e7854c17798842b056f865 /lib/private/repair.php
parente016ed55ff803f599414f72b7014be0911d95ec4 (diff)
downloadnextcloud-server-d6becb8d828aef0b06df3de51fe9bb0d9710801d.tar.gz
nextcloud-server-d6becb8d828aef0b06df3de51fe9bb0d9710801d.zip
add repair steps to get rid of old background jobs
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r--lib/private/repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php
index 0674207bbee..c690fe4a8cd 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -32,6 +32,7 @@ use OC\Hooks\Emitter;
use OC\Repair\AssetCache;
use OC\Repair\CleanTags;
use OC\Repair\Collation;
+use OC\Repair\DropOldJobs;
use OC\Repair\SqliteAutoincrement;
use OC\Repair\DropOldTables;
use OC\Repair\FillETags;
@@ -106,6 +107,7 @@ class Repair extends BasicEmitter {
new FillETags(\OC_DB::getConnection()),
new CleanTags(\OC_DB::getConnection()),
new DropOldTables(\OC_DB::getConnection()),
+ new DropOldJobs(\OC::$server->getJobList()),
);
}