diff options
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/AppInfo/Application.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/lib/AppInfo/Application.php b/apps/files/lib/AppInfo/Application.php index afd9f788749..b8770caa4aa 100644 --- a/apps/files/lib/AppInfo/Application.php +++ b/apps/files/lib/AppInfo/Application.php @@ -41,7 +41,7 @@ use OCA\Files\Listener\LoadSidebarListener; use OCA\Files\Notification\Notifier; use OCA\Files\Service\TagService; use OCP\AppFramework\App; -use OCP\Collaboration\Resources\IManager; +use OCP\Collaboration\Resources\IProviderManager; use OCP\EventDispatcher\IEventDispatcher; use OCP\IContainer; @@ -92,9 +92,9 @@ class Application extends App { /** * Register Collaboration ResourceProvider */ - /** @var IManager $resourceManager */ - $resourceManager = $container->query(IManager::class); - $resourceManager->registerResourceProvider(ResourceProvider::class); + /** @var IProviderManager $providerManager */ + $providerManager = $container->query(IProviderManager::class); + $providerManager->registerResourceProvider(ResourceProvider::class); Listener::register($server->getEventDispatcher()); /** @var IEventDispatcher $dispatcher */ |