summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Repair.php2
-rw-r--r--lib/private/Repair/NC12/UpdateLanguageCodes.php3
2 files changed, 3 insertions, 2 deletions
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) {