aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Migration
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 12:14:52 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 16:07:02 +0100
commit0e1931754a4651ac4e5cfb8196b2a403aea39dd6 (patch)
tree79c9eeb86f6e1c0181b201c88673f74381a4e154 /lib/private/Migration
parentaee189f6c76ff1d3d9b58cb50b659cca47d693a5 (diff)
downloadnextcloud-server-0e1931754a4651ac4e5cfb8196b2a403aea39dd6.tar.gz
nextcloud-server-0e1931754a4651ac4e5cfb8196b2a403aea39dd6.zip
chore: use DI for \OC\Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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) {