diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-11-22 22:33:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 22:33:53 +0100 |
commit | 9a0428835f54550d27217f9a9b60d105c436c8b6 (patch) | |
tree | 3ad59b9f939171edef69c4aa1581017b8ff46e8a /lib | |
parent | 032de4f333904dfb3dedb29935d43bfee6bfe0d8 (diff) | |
parent | 858c7f4032ca2fd7f8cc98ed1fe4f7467b9ba8ce (diff) | |
download | nextcloud-server-9a0428835f54550d27217f9a9b60d105c436c8b6.tar.gz nextcloud-server-9a0428835f54550d27217f9a9b60d105c436c8b6.zip |
Merge pull request #24267 from nextcloud/techdebt/noid/auto-wire-encryption-app-view-dependent
Auto-wire remaining encryption app services that depend on View
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 360d682e0dd..39524957166 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -290,6 +290,9 @@ class Server extends ServerContainer implements IServerContainer { $this->registerAlias(IActionFactory::class, ActionFactory::class); + $this->registerService(View::class, function (Server $c) { + return new View(); + }, false); $this->registerService(IPreview::class, function (ContainerInterface $c) { return new PreviewManager( |