Fix injection of defaults
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
50f3efad6f
commit
552921d429
|
@ -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 New Issue