From 0beb78517fa06a27509161f5b77d1bf8fec91054 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Fri, 3 Mar 2017 12:20:02 +0100
Subject: Fix DI

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 lib/private/Repair.php                          | 2 +-
 lib/private/Repair/NC12/UpdateLanguageCodes.php | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

(limited to 'lib')

diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 7f142a808aa..e808774ec93 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -135,7 +135,7 @@ class Repair implements IOutput{
 				\OC::$server->getConfig()
 			),
 			new FixMountStorages(\OC::$server->getDatabaseConnection()),
-			new UpdateLanguageCodes(\OC::$server->getDatabaseConnection()),
+			new UpdateLanguageCodes(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()),
 		];
 	}
 
diff --git a/lib/private/Repair/NC12/UpdateLanguageCodes.php b/lib/private/Repair/NC12/UpdateLanguageCodes.php
index 69f06df83e9..891473f51a7 100644
--- a/lib/private/Repair/NC12/UpdateLanguageCodes.php
+++ b/lib/private/Repair/NC12/UpdateLanguageCodes.php
@@ -36,7 +36,8 @@ class UpdateLanguageCodes implements IRepairStep {
 	private $config;
 
 	/**
-	 * @param IDBConnection $db
+	 * @param IDBConnection $connection
+	 * @param IConfig $config
 	 */
 	public function __construct(IDBConnection $connection,
 								IConfig $config) {
-- 
cgit v1.2.3