diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-24 13:09:09 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-28 16:30:34 -0600 |
commit | 552921d4291e45bd587ff05bbd222b67ebfd02c0 (patch) | |
tree | b58b1e5c8eeab16619db8d4b8758e7dd84333f7f /lib | |
parent | 50f3efad6f9026be32457e14d925a231b9240eaf (diff) | |
download | nextcloud-server-552921d4291e45bd587ff05bbd222b67ebfd02c0.tar.gz nextcloud-server-552921d4291e45bd587ff05bbd222b67ebfd02c0.zip |
Fix injection of defaults
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 5a7b9da929d..86fc568076c 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -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(); }); |