aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
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/legacy
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/legacy')
-rw-r--r--lib/private/legacy/OC_App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index edd844bf89f..841ad541674 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -823,7 +823,7 @@ class OC_App {
$dispatcher = \OC::$server->get(IEventDispatcher::class);
// load the steps
- $r = new Repair([], $dispatcher, \OC::$server->get(LoggerInterface::class));
+ $r = \OCP\Server::get(Repair::class);
foreach ($steps as $step) {
try {
$r->addStep($step);