aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Migration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Migration')
-rw-r--r--lib/private/Migration/BackgroundRepair.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Migration/BackgroundRepair.php b/lib/private/Migration/BackgroundRepair.php
index dd1b15c7492..e485b3e9051 100644
--- a/lib/private/Migration/BackgroundRepair.php
+++ b/lib/private/Migration/BackgroundRepair.php
@@ -73,7 +73,7 @@ class BackgroundRepair extends TimedJob {
}
$step = $argument['step'];
- $repair = new Repair([], $this->dispatcher, \OC::$server->get(LoggerInterface::class));
+ $repair = \OCP\Server::get(Repair::class);
try {
$repair->addStep($step);
} catch (\Exception $ex) {