From c5cb3bb6655fad45f6f7e52ac65c13be6e96b66d Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Thu, 19 Mar 2020 15:04:23 +0100
Subject: [PATCH] Do not use the deprecated service name

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 apps/files_external/lib/AppInfo/Application.php | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php
index 8ab9a56f3af..761eeff113f 100644
--- a/apps/files_external/lib/AppInfo/Application.php
+++ b/apps/files_external/lib/AppInfo/Application.php
@@ -83,10 +83,6 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
 
 		$container = $this->getContainer();
 
-		$container->registerService(IUserMountCache::class, function (IAppContainer $c) {
-			return $c->getServer()->query('UserMountCache');
-		});
-
 		/** @var BackendService $backendService */
 		$backendService = $container->query(BackendService::class);
 		$backendService->registerBackendProvider($this);
-- 
GitLab