Merge pull request #20031 from nextcloud/fix/files-external-user-mount-cache-di

Do not use the deprecated service name
This commit is contained in:
Roeland Jago Douma 2020-03-19 20:09:31 +01:00 committed by GitHub
commit d3401efa2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -83,10 +83,6 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
$container = $this->getContainer(); $container = $this->getContainer();
$container->registerService(IUserMountCache::class, function (IAppContainer $c) {
return $c->getServer()->query('UserMountCache');
});
/** @var BackendService $backendService */ /** @var BackendService $backendService */
$backendService = $container->query(BackendService::class); $backendService = $container->query(BackendService::class);
$backendService->registerBackendProvider($this); $backendService->registerBackendProvider($this);