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:
commit
d3401efa2d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue