diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-09-29 20:57:00 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-12-07 22:04:07 +0100 |
commit | 001648037055985cc10f38d6ba1e0e71cac49af7 (patch) | |
tree | 9f4cf10544421a7a337e9d26a86cbc8aedabe65b /lib/private/AppFramework | |
parent | 2959487f71c8226036ac3614bce27e3bbe60418a (diff) | |
download | nextcloud-server-001648037055985cc10f38d6ba1e0e71cac49af7.tar.gz nextcloud-server-001648037055985cc10f38d6ba1e0e71cac49af7.zip |
Decouple resource provider registration
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 5d7f60265e6..13041532927 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -290,6 +290,7 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $dispatcher; }); + $this->registerAlias(\OCP\Collaboration\Resources\IProviderManager::class, OC\Collaboration\Resources\ProviderManager::class); $this->registerAlias(\OCP\Collaboration\Resources\IManager::class, OC\Collaboration\Resources\Manager::class); } |