Fix injection of defaults

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-02-24 13:09:09 -06:00
parent 50f3efad6f
commit 552921d429
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 4 additions and 0 deletions

View File

@ -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();
});