aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-03 12:20:02 +0100
committerJoas Schilling <coding@schilljs.com>2017-03-03 12:20:02 +0100
commit0beb78517fa06a27509161f5b77d1bf8fec91054 (patch)
tree291b75b8c056a46617ee910d0cc44f5a95c0c5ff /lib
parent342ee51dad64652720f86edf92f10f5a9ac54bae (diff)
downloadnextcloud-server-0beb78517fa06a27509161f5b77d1bf8fec91054.tar.gz
nextcloud-server-0beb78517fa06a27509161f5b77d1bf8fec91054.zip
Fix DI
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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) {