mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix DI
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
342ee51dad
commit
0beb78517f
2 changed files with 3 additions and 2 deletions
|
|
@ -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()),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue