From e6b3b36c446b69679f700b313a2f2446f1463d71 Mon Sep 17 00:00:00 2001 From: Arne Hamann Date: Fri, 22 May 2020 13:34:30 +0200 Subject: [PATCH] Query application form server Signed-off-by: Arne Hamann --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/app.php b/appinfo/app.php index 568e8edd..a4950161 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -17,7 +17,7 @@ use OCP\Util; use Symfony\Component\EventDispatcher\GenericEvent; use OCA\Maps\Hooks\FileHooks; -$app = new Application(); +$app = \OC::$server->query(Application::class); $container = $app->getContainer(); $eventDispatcher = \OC::$server->getEventDispatcher();