Fix DI
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
342ee51dad
commit
0beb78517f
|
@ -135,7 +135,7 @@ class Repair implements IOutput{
|
||||||
\OC::$server->getConfig()
|
\OC::$server->getConfig()
|
||||||
),
|
),
|
||||||
new FixMountStorages(\OC::$server->getDatabaseConnection()),
|
new FixMountStorages(\OC::$server->getDatabaseConnection()),
|
||||||
new UpdateLanguageCodes(\OC::$server->getDatabaseConnection()),
|
new UpdateLanguageCodes(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,8 @@ class UpdateLanguageCodes implements IRepairStep {
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IDBConnection $db
|
* @param IDBConnection $connection
|
||||||
|
* @param IConfig $config
|
||||||
*/
|
*/
|
||||||
public function __construct(IDBConnection $connection,
|
public function __construct(IDBConnection $connection,
|
||||||
IConfig $config) {
|
IConfig $config) {
|
||||||
|
|
Loading…
Reference in New Issue