diff options
author | Joas Schilling <coding@schilljs.com> | 2017-03-03 12:20:02 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-03-03 12:20:02 +0100 |
commit | 0beb78517fa06a27509161f5b77d1bf8fec91054 (patch) | |
tree | 291b75b8c056a46617ee910d0cc44f5a95c0c5ff /lib | |
parent | 342ee51dad64652720f86edf92f10f5a9ac54bae (diff) | |
download | nextcloud-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.php | 2 | ||||
-rw-r--r-- | lib/private/Repair/NC12/UpdateLanguageCodes.php | 3 |
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) { |