Fix injection of defaults
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
50f3efad6f
commit
552921d429
1 changed files with 4 additions and 0 deletions
|
@ -344,6 +344,10 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
|||
return Util::getDefaultEmailAddress('no-reply');
|
||||
});
|
||||
|
||||
$this->registerService('OC_Defaults', function ($c) {
|
||||
return $c->getServer()->getThemingDefaults();
|
||||
});
|
||||
|
||||
$this->registerService('OCP\Encryption\IManager', function ($c) {
|
||||
return $this->getServer()->getEncryptionManager();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue